D

Directus GraphQL API

GraphQL discovered

Details
Endpoint
https://<your-directus-url>/graphql
Spec
introspection
Docs
https://directus.com/docs/api
Authentication
Directus static access token bearer discovered Get token ↗
Authorization: Bearer <credential> /?access_token=<credential>

In your Directus project’s Data Studio, open the user you want to authenticate as and generate a token in the Token field, then save the user. For MCP, Directus recommends creating a dedicated user first via User Directory and generating that user’s token. See Access Tokens and MCP Installation.

Directus user login session / standard tokens compound discovered Get key ↗
Authorization: Bearer <credential> /Cookie: <credential>

Log in to your Directus project with a user account via the Directus auth flow. A login to /auth/login returns an access_token and refresh_token, or you can request mode=session to receive a directus_session_token cookie. See Authenticate a User and Access Tokens.