> For the complete documentation index, see [llms.txt](https://docs.thebrief.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.thebrief.ai/public-api/graphql/endpoints-and-queries.md).

# Endpoints and queries

### Endpoints and queries

All The Brief Public API queries are made on a single GraphQL endpoint, which only accepts POST requests:&#x20;

`https://graphql.thebrief.ai/public`

```shell
curl -X POST \
  https://graphql.thebrief.ai/public \
  -H 'Content-Type: application/graphql' \
  -H 'Authorization": Bearer: {authorization_token}' \
} \
  -d '
  query getDownloadStatus {
  download(input: { downloadId: "{downloadId}" }) {
    status
    creatives {
      __typename
      ... on DownloadCreativeDesign {
        id
        status
        url
      }
      ... on DownloadCreativeSet {
        creatives {
          id
          status
          url
        }
      }
    }
  }
}
  '
```
