credentials

Add a provider credential (API key) to a graph — node-scoped or graph-wide fallback.

post/graphs/{id}/credentials

Request

  • Base URL: https://api.livegraph.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.livegraph.ai/graphs/{id}/credentials
  • Auth: one of:
    • API key in cookie livegraph_session
    • API key in header x-api-key

Path parameters

idstring uuid required

Request body

provider'anthropic' | 'openai' | 'xai' | 'openrouter' | 'openai-compatible' | 'groq' | 'cerebras' | 'mistral' | 'github-models' | 'nvidia' | 'mock' | 'transform' | 'devin' | 'github-copilot' | 'cursor' | 'cli-agent' required
apiKeystring required
labelstring
nodeIdstring uuid
baseUrlstring uri

Response

Success — see summary for the response shape.

Changes

No recorded changes to this operation across all 2 revisions of this API.