Error
A valid request URL is required to generate request examples{
"success": true,
"data": {
"id": "pk_7b2c10",
"agentId": "agt_4f9c2b7e10a24d51",
"name": "Marketing site",
"keyPublic": "flowyte_pk_live_4f9c2b_7kR2nP9x",
"env": "live",
"allowedOrigins": [
"https://example.com"
],
"scopes": [
"chat:public"
],
"rateLimitRpm": 60,
"requireIdentityVerification": false,
"createdBy": "user_2a1b9c",
"createdAt": "2026-06-10T12:00:00.000Z",
"revokedAt": null
}
}{
"type": "about:blank",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
]
}{
"type": "about:blank",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
]
}PublishableKeys
Rotate a publishable key
Issues a new value for a publishable key while keeping its agent and allowed origins. The old value keeps working during a short grace window so you can swap it in without downtime.
POST
/
agents
/
{agentId}
/
publishable-keys
/
{id}
/
rotate
Error
A valid request URL is required to generate request examples{
"success": true,
"data": {
"id": "pk_7b2c10",
"agentId": "agt_4f9c2b7e10a24d51",
"name": "Marketing site",
"keyPublic": "flowyte_pk_live_4f9c2b_7kR2nP9x",
"env": "live",
"allowedOrigins": [
"https://example.com"
],
"scopes": [
"chat:public"
],
"rateLimitRpm": 60,
"requireIdentityVerification": false,
"createdBy": "user_2a1b9c",
"createdAt": "2026-06-10T12:00:00.000Z",
"revokedAt": null
}
}{
"type": "about:blank",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
]
}{
"type": "about:blank",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
]
}Authorizations
Flowyte secret API key (Authorization: Bearer flowyte_sk_live_…). Scope-gated; is scoped to your organization — a key can never reach another tenant. The listed scopes in each operation's apiKey requirement are the scopes that key must hold. The tokenUrl is nominal: keys are minted in the dashboard.
FlowClient Credentials
- Token URL
- /api/v1/api-keys
Scopes1
pubkeys:write
Manage publishable keys.
Path Parameters
The agent this resource is scoped to (the UUID returned by createAgent / listAgents).
The publishable key's id to rotate.