# Datafold API

### Authentication

Authentication is done by setting the HTTP header:

`Authorization: Key <your-api-key>`

You can get the key in Datafold Web UI: Settings -> Account -> Create API Key

### Base URL

Datafold SaaS: `https://app.datafold.com`

Datafold single-tenant (on-premise): <https://datafold.yourdomain.com>

## API Methods

{% content-ref url="datafold-api/alerting" %}
[alerting](https://datafold.gitbook.io/datafold/developer/datafold-api/alerting)
{% endcontent-ref %}

{% content-ref url="datafold-api/graphql-metadata-api" %}
[graphql-metadata-api](https://datafold.gitbook.io/datafold/developer/datafold-api/graphql-metadata-api)
{% endcontent-ref %}

{% content-ref url="datafold-api/datadiff" %}
[datadiff](https://datafold.gitbook.io/datafold/developer/datafold-api/datadiff)
{% endcontent-ref %}

{% content-ref url="datafold-api/error-handling" %}
[error-handling](https://datafold.gitbook.io/datafold/developer/datafold-api/error-handling)
{% endcontent-ref %}
