Skip to content

Instructions for an Agent

GET
/auth.md
curl --request GET \
--url https://app.caprid.com/auth.md

The steps an AI agent follows to register with this server’s WorkOS AuthKit domain, get an Agent token, and use it here. Point an agent at this page and it can start a trial with no help from you.

The first part is AuthKit’s own instructions, copied from AuthKit at most a minute ago, so they follow how AuthKit is set up. The last part says what to call here with the token: list the trial, find its Namespace, and create an API key.

The instructions, as Markdown.

Media typetext/plain
string

Example

# auth.md — agent registration
You are an agent. This service allows you to register for an identity and exchange it for credentials.
...
## 7. Use the access token with Switchboard
...

This server isn’t set up for Agents.

Media typeapplication/json
object
error
required
string

Example

{
"error": "the requested grants exceed the key's scope"
}

AuthKit didn’t answer, or answered with an error.

Media typeapplication/json
object
error
required
string

Example

{
"error": "the requested grants exceed the key's scope"
}