LiveGraph Auth API

The auth API from LiveGraph — 18 operation(s) for auth.

GitHub OpenAPI

Operations 20

POST /auth/signup Create an account — email + password, sets the session cookie #
POST /auth/login Log in — sets the session cookie on valid credentials #
POST /auth/logout Log out — clears the session cookie #
POST /auth/verify Verify an email address with the mailed token #
POST /auth/resend-verification Resend the verification email #
POST /auth/forgot-password Request a password-reset email #
POST /auth/reset-password Reset the password with a mailed token #
GET /auth/me The signed-in user's profile + plan #
PATCH /auth/me Update the caller's profile — notification webhook, approval veto window… #
GET /auth/github/connect Start the GitHub connect flow for a logged-in user (stores the token as a… #
GET /auth/github Start GitHub OAuth sign-in — redirects to GitHub #
GET /auth/github/callback GitHub OAuth callback — completes sign-in or the credential-connect flow #
GET /auth/google Start Google OAuth sign-in — redirects to Google #
GET /auth/google/callback Google OAuth callback — completes sign-in #
GET /auth/google/connect Start the Google connect flow — vends short-lived tokens as a credential, tied… #
GET /auth/google/connect/callback Google connect callback — stores the grant on the session that started the flow #
GET /me/api-keys List the caller's API keys (prefixes and scopes only — key material is shown… #
POST /me/api-keys Create an API key — optionally scoped to one graph + action set. #
POST /me/api-keys/{id}/rotate Rotate an API key — mints a replacement secret, returned once; the old key dies… #
DELETE /me/api-keys/{id} Revoke an API key #

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/livegraph-ai:livegraph-ai-auth-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

livegraph-ai-auth-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: LiveGraph Auth API
  version: 1.0.0
  description: LiveGraph — the live, editable agent canvas. Authenticate with the livegraph_session cookie or an x-api-key header. Errors share the {error, code?} envelope; validation failures return 400.
security:
- sessionCookie: []
- apiKey: []
tags:
- name: Auth
paths:
  /auth/signup:
    post:
      summary: Create an account — email + password, sets the session cookie
      tags:
      - Auth
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                email:
                  type: string
                  format: email
                password:
                  type: string
                  minLength: 8
                next:
                  type: string
                  maxLength: 300
              required:
              - email
              - password
              additionalProperties: false
              $schema: http://json-schema.org/draft-07/schema#
      operationId: postAuthSignup
      x-operation-id-source: derived
  /auth/login:
    post:
      summary: Log in — sets the session cookie on valid credentials
      tags:
      - Auth
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                email:
                  type: string
                  format: email
                password:
                  type: string
                  minLength: 8
              required:
              - email
              - password
              additionalProperties: false
              $schema: http://json-schema.org/draft-07/schema#
      operationId: postAuthLogin
      x-operation-id-source: derived
  /auth/logout:
    post:
      summary: Log out — clears the session cookie
      tags:
      - Auth
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      operationId: postAuthLogout
      x-operation-id-source: derived
  /auth/verify:
    post:
      summary: Verify an email address with the mailed token
      tags:
      - Auth
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                token:
                  type: string
                  minLength: 1
              required:
              - token
              additionalProperties: false
              $schema: http://json-schema.org/draft-07/schema#
      operationId: postAuthVerify
      x-operation-id-source: derived
  /auth/resend-verification:
    post:
      summary: Resend the verification email
      tags:
      - Auth
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                email:
                  type: string
                  format: email
                next:
                  type: string
                  maxLength: 300
              required:
              - email
              additionalProperties: false
              $schema: http://json-schema.org/draft-07/schema#
      operationId: postAuthResendVerification
      x-operation-id-source: derived
  /auth/forgot-password:
    post:
      summary: Request a password-reset email
      tags:
      - Auth
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                email:
                  type: string
                  format: email
              required:
              - email
              additionalProperties: false
              $schema: http://json-schema.org/draft-07/schema#
      operationId: postAuthForgotPassword
      x-operation-id-source: derived
  /auth/reset-password:
    post:
      summary: Reset the password with a mailed token
      tags:
      - Auth
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                token:
                  type: string
                  minLength: 1
                password:
                  type: string
                  minLength: 8
              required:
              - token
              - password
              additionalProperties: false
              $schema: http://json-schema.org/draft-07/schema#
      operationId: postAuthResetPassword
      x-operation-id-source: derived
  /auth/me:
    get:
      summary: The signed-in user's profile + plan
      tags:
      - Auth
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      operationId: getAuthMe
      x-operation-id-source: derived
    patch:
      summary: Update the caller's profile — notification webhook, approval veto window…
      tags:
      - Auth
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                notifyWebhookUrl:
                  anyOf:
                  - type: string
                    maxLength: 2048
                  - type: 'null'
                autoApproveWindowSeconds:
                  anyOf:
                  - type: integer
                    minimum: 30
                    maximum: 604800
                  - type: 'null'
                agentGateDecisions:
                  type: boolean
              additionalProperties: false
              $schema: http://json-schema.org/draft-07/schema#
      operationId: patchAuthMe
      x-operation-id-source: derived
  /auth/github/connect:
    get:
      summary: Start the GitHub connect flow for a logged-in user (stores the token as a…
      tags:
      - Auth
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      parameters:
      - name: next
        in: query
        required: false
        schema:
          type: string
          maxLength: 300
      operationId: getAuthGithubConnect
      x-operation-id-source: derived
  /auth/github:
    get:
      summary: Start GitHub OAuth sign-in — redirects to GitHub
      tags:
      - Auth
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      parameters:
      - name: next
        in: query
        required: false
        schema:
          type: string
          maxLength: 300
      operationId: getAuthGithub
      x-operation-id-source: derived
  /auth/github/callback:
    get:
      summary: GitHub OAuth callback — completes sign-in or the credential-connect flow
      tags:
      - Auth
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      parameters:
      - name: code
        in: query
        required: false
        schema:
          type: string
      - name: state
        in: query
        required: false
        schema:
          type: string
      - name: error
        in: query
        required: false
        schema:
          type: string
      operationId: getAuthGithubCallback
      x-operation-id-source: derived
  /auth/google:
    get:
      summary: Start Google OAuth sign-in — redirects to Google
      tags:
      - Auth
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      parameters:
      - name: next
        in: query
        required: false
        schema:
          type: string
          maxLength: 300
      operationId: getAuthGoogle
      x-operation-id-source: derived
  /auth/google/callback:
    get:
      summary: Google OAuth callback — completes sign-in
      tags:
      - Auth
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      parameters:
      - name: code
        in: query
        required: false
        schema:
          type: string
      - name: state
        in: query
        required: false
        schema:
          type: string
      - name: error
        in: query
        required: false
        schema:
          type: string
      operationId: getAuthGoogleCallback
      x-operation-id-source: derived
  /auth/google/connect:
    get:
      summary: Start the Google connect flow — vends short-lived tokens as a credential, tied…
      tags:
      - Auth
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      parameters:
      - name: next
        in: query
        required: false
        schema:
          type: string
          maxLength: 300
      operationId: getAuthGoogleConnect
      x-operation-id-source: derived
  /auth/google/connect/callback:
    get:
      summary: Google connect callback — stores the grant on the session that started the flow
      tags:
      - Auth
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      parameters:
      - name: code
        in: query
        required: false
        schema:
          type: string
      - name: state
        in: query
        required: false
        schema:
          type: string
      - name: error
        in: query
        required: false
        schema:
          type: string
      operationId: getAuthGoogleConnectCallback
      x-operation-id-source: derived
  /me/api-keys:
    get:
      summary: List the caller's API keys (prefixes and scopes only — key material is shown…
      tags:
      - Auth
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      operationId: getMeApiKeys
      x-operation-id-source: derived
    post:
      summary: Create an API key — optionally scoped to one graph + action set.
      tags:
      - Auth
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                label:
                  type: string
                  maxLength: 120
                  default: ''
                scope:
                  type: object
                  properties:
                    graphIds:
                      type: array
                      items:
                        type: string
                        format: uuid
                      minItems: 1
                      maxItems: 20
                    actions:
                      type: array
                      items:
                        type: string
                        enum:
                        - runs:create
                        - runs:read
                        - runs:share
                      minItems: 1
                  required:
                  - graphIds
                  - actions
                  additionalProperties: false
              additionalProperties: false
              $schema: http://json-schema.org/draft-07/schema#
      operationId: postMeApiKeys
      x-operation-id-source: derived
  /me/api-keys/{id}/rotate:
    post:
      summary: Rotate an API key — mints a replacement secret, returned once; the old key dies…
      tags:
      - Auth
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      operationId: postMeApiKeysByIdRotate
      x-operation-id-source: derived
  /me/api-keys/{id}:
    delete:
      summary: Revoke an API key
      tags:
      - Auth
      responses:
        '200':
          description: Success — see summary for the response shape.
        4XX:
          description: Client error — body is the shared {error, code?} envelope.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  code:
                    type: string
                required:
                - error
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      operationId: deleteMeApiKeysById
      x-operation-id-source: derived
components:
  securitySchemes:
    sessionCookie:
      type: apiKey
      in: cookie
      name: livegraph_session
    apiKey:
      type: apiKey
      in: header
      name: x-api-key