Directus getting started API

Directus getting started API as documented publicly. Contract generated from the documentation by API Evangelist (2026-11-30); not the provider's own document.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 3

GET / GET / #
POST /auth/login POST /auth/login #
POST /users/register POST /users/register #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/directusio:getting-started-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

directusio-getting-started-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: Directus getting started API
  version: '2026-11-30'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-30: 3 operation(s) read from 1 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; Directus has published no machine-readable contract that the
    pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 4
    documentation: 25
    pages-with-code: 2
    pages-read: 7
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-30'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://directus.com/docs/getting-started/authenticate-user
  x-docs-section: getting-started
paths:
  /:
    get:
      operationId: get
      tags:
      - Api
      summary: GET /
      x-source: https://directus.com/docs/getting-started/authenticate-user
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: curl or HTTPie , or make HTTP requests directly in a script written in your programming language of choice. Before You Start
          You will need a Directus project. Everything you need to start building. Provisioned in 90 seconds. Get Started Create a posts collection
          with at least a title and content field. Follow the data modeling quickstart to learn more . Create a single item in the collection.
          Crea
  /auth/login:
    post:
      operationId: post_auth_login
      tags:
      - Auth
      summary: POST /auth/login
      x-source: https://directus.com/docs/getting-started/authenticate-user
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostAuthLoginRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl  --request POST  --header 'Content-Type: application/json'  --data '{ \"email\": \"hello@example.com\", \"password\": \"\
          d1r3ctu5\" }'  --url 'https://directus.example.com/auth/login'\n mutation {\n auth_login ( email : \"hello@example.com\" , password\
          \ : \"d1r3ctu5\" ) {\n access_token\n refresh_token\n }\n }\n Authenticating Requests You can use the access token while making requests.\
          \ If your token has expired,"
  /users/register:
    post:
      operationId: post_users_register
      tags:
      - Users
      summary: POST /users/register
      x-source: https://directus.com/docs/getting-started/authenticate-user
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostUsersRegisterRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl  --request POST  --header 'Content-Type: application/json'  --data '{ \"email\": \"hello@example.com\", \"password\": \"\
          d1r3ctu5\" }'  --url 'https://directus.example.com/users/register'\n mutation {\n users_register ( email : \"hello@example.com\" , password\
          \ : \"d1r3ctu5\" )\n }\n Go to the user directory in the module bar and you should see a new user has been created. Logging In SDK Terminal\
          \ GraphQL impor"
security:
- bearer: []
components:
  schemas:
    PostAuthLoginRequest:
      type: object
      properties:
        email:
          type: string
        password:
          type: string
    PostUsersRegisterRequest:
      type: object
      properties:
        email:
          type: string
        password:
          type: string
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
tags:
- name: Api
- name: Auth
- name: Users