---
title: Auth
description: Authentication, registration, and JWKS
full: false
_openapi:
  toc:
    - depth: 2
      title: Register external agent
      url: '#register-external-agent'
    - depth: 2
      title: Get agent token
      url: '#get-agent-token'
    - depth: 2
      title: JWKS endpoint
      url: '#jwks-endpoint'
  structuredData:
    headings:
      - content: Register external agent
        id: register-external-agent
      - content: Get agent token
        id: get-agent-token
      - content: JWKS endpoint
        id: jwks-endpoint
    contents:
      - content: >-
          Register an externally-hosted agent with the platform. Returns agent
          credentials for subsequent authentication.
        heading: register-external-agent
      - content: Exchange agent credentials for a short-lived JWT.
        heading: get-agent-token
      - content: Public JSON Web Key Set for verifying platform-issued JWTs.
        heading: jwks-endpoint
---

{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

<APIPage document={"./openapi.json"} webhooks={[]} operations={[{"path":"/api/auth/agent/register","method":"post"},{"path":"/api/auth/agent/token","method":"post"},{"path":"/.well-known/jwks.json","method":"get"}]} showTitle />