Call the API
1
Create an API key
In app.guild.ai, open Settings for the account the key should act as and create a key with the scopes it needs. Or run
guild api-key create. See Create a key.2
Make a request
Send the key’s
<api_key_id>:<api_key_secret> string as HTTP Basic credentials or a Bearer token.3
Hold a conversation
Start a session with an agent, read its replies, and send follow-ups. See Conversations.
openapi.yaml or openapi.json. Import it into an API client or code generator.
Resources
API reference
Base URL, authentication, scopes, errors, and every endpoint.
Quickstart
Run your first agent, then build your own with the CLI.
Guild CLI
Install the CLI, scaffold an agent, and test it locally before publishing.
Agent SDK
Build agents with tools, typed inputs, and platform services.
API triggers
Run one agent on demand with a key scoped to a single trigger.
MCP server
Call Guild operations as MCP tools from Claude Code, Cursor, or any MCP client.