Skip to main content
POST
/
v1
/
installations
Record Installation
curl --request POST \
  --url https://api.agentpowers.ai/v1/installations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "source_slug": "<string>",
  "hostname": "<string>",
  "platform": "<string>",
  "source": "agentpowers"
}
'
{
  "id": "<string>",
  "source_slug": "<string>",
  "hostname": "<string>",
  "platform": "<string>",
  "source": "<string>",
  "message": "Installation recorded"
}

Authorizations

Authorization
string
header
required

Provide a Clerk JWT or a long-lived CLI token (prefix ap_cli_). Pass as Authorization: Bearer <token>.

Body

application/json
source_slug
string
required
hostname
string
required
Required string length: 1 - 255
platform
string
required
Pattern: ^(code|cowork|web|cli|mcp)$
source
string
default:agentpowers
Pattern: ^(agentpowers|clawhub)$

Response

Successful Response

id
string
required
source_slug
string
required
hostname
string
required
platform
string
required
source
string
required
message
string
default:Installation recorded