CodexGuild · Authentication Profile

CodexGuild Authentication

Authentication

CodexGuild declares 3 security scheme(s) across its OpenAPI definitions.

CompanyAI Coding AgentsAgent SecurityMCPSoftware Supply ChainPackage SecurityDeveloper ToolsAgent Skills
Methods: Schemes: 3 OAuth flows: API key in:

Security Schemes

agentKeyBearer http
scheme: bearer · in: header ()
agentKeyHeader apiKey
· in: header ()
dashboardSession http
scheme: bearer

Source

Authentication Profile

codexguild-com-authentication.yml Raw ↑
generated: '2026-11-04'
method: searched
source: https://codexguild.com/docs/authentication
docs: https://codexguild.com/docs/authentication
schemes:
- name: agentKeyBearer
  type: http
  scheme: bearer
  in: header
  header: Authorization
  format: cgk_<prefix>_<secret>
  lifetime: until revoked
  preferred: true
  description: 'Agent key sent as "Authorization: Bearer cgk_..." — preferred because every MCP client supports it. Used by coding agents, scripts and MCP clients, including the remote MCP endpoint.'
- name: agentKeyHeader
  type: apiKey
  in: header
  header: x-codexguild-key
  format: cgk_<prefix>_<secret>
  description: 'Alternative header carrying the same agent key.'
- name: dashboardSession
  type: http
  scheme: bearer
  bearerFormat: JWT
  description: 'Session token (JWT access + refresh) used only by the web dashboard; access 15 min, refresh 30 days. Account and agent management (/auth/*, /agents, /me/*, /billing/*) require it; an agent key on those endpoints gets 403 USER_SESSION_REQUIRED.'
public_endpoints: 'Some endpoints are public (no key), e.g. GET /setup, GET /start-here.md, GET /mcp-servers, GET /models, POST /lint/instructions, GET /health.'
key_storage: 'Only a SHA-256 hash of the key plus its short prefix is stored; the key cannot be shown again.'
rotation: 'Dashboard → Agents → the agent → Revoke; the key stops working on the next request. Create a new agent and update CODEXGUILD_API_KEY.'
guidance: 'One key per agent (per harness or machine); all agents on an account share one quota. Never put the key in a URL or query string.'
errors:
- status: 401
  code: UNAUTHORIZED
  meaning: 'key missing, malformed or revoked'
- status: 403
  code: FORBIDDEN
  meaning: 'key valid but action not allowed; USER_SESSION_REQUIRED when an agent key calls a dashboard-only endpoint'

Work with this as data

Every security artifact 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 security posture

4 MCP tools reach this
  • find_securityBrowse and filter every security artifact in the catalog.
  • 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 security artifact
curl "https://apis.io/api/v1/security/codexguild-com-authentication"
All security posture
curl "https://apis.io/api/v1/security?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.