Skip to content

channels.provideSecret

Give an agent the key it asked for, into the credential store.

Reference

POST/api/v1/timeline/secrets/provide

Auth
API key in X-API-Key
Content
application/json
Returns
200 · TimelineEvent

Fill a bot's secure form: the key goes to Credentials, the card is stamped. Admin only, like creating a credential anywhere else. The returned row carries the credential's uuid and a last-four hint, never the value.

Arguments

ArgumentInTypeRequiredDescription
event_idbodyintegerrequired
valuesbodyValuesoptional

Example request

curl -X POST "https://api.decibyl.ai/api/v1/timeline/secrets/provide" \
  -H "X-API-Key: dcb_your_key" \
  -H "Content-Type: application/json" \
  -d '{"event_id":1,"values":{}}'

Response

{
  "id": 1,
  "at": "2026-09-14T09:30:00Z",
  "kind": "string",
  "actor": "string",
  "summary": "string",
  "payload": {},
  "is_deliverable": true,
  "workflow_id": 1,
  "workflow_run_id": 1,
  "folder_id": 1,
  "credits": 0,
  "included": true,
  "blocked": {
    "reason": "string",
    "says": "string",
    "ways": []
  }
}

Errors

StatusWhen
404Not found
422Validation Error