Create an agent
Create an agent for a reusable automation identity. Keep grants narrow and add ambient triggers only when the agent should start from platform signals.Start a session
Create a session when you want a durable conversation or task thread. A session can be reused across multiple turns.Submit a turn
Submit a turn to ask the agent to do work. Use a runtime hint when you know whether the task needs a retained runtime; policy still decides what runs.Resolve an approval
Approval requests are runtime gates. Resolve them with bothIdempotency-Key and If-Match so retries are safe and stale approvals are rejected.
Create a repository change request
Create a repository change request when an agent or integration needs a reviewable fork-backed change. The response returns the change request resource. Use:create_token to mint a scoped token for the fork.
Related topics
Agents API
Review the resource model and SDK shape.
Permissions and security
Understand grants, approvals, credential proxying, and review boundaries.