Voice Agent Intelligence

Create Agent Resource

Create Agent Resource

Requires the OWNER or ADMIN role. Adds one document/link to an agent's knowledge base; the server fetches and embeds the content in the background (status moves from pending to completed).

post/voice/agent-resources

Request

  • Base URL: https://api.speakai.co/v1
  • URL: https://api.speakai.co/v1/voice/agent-resources
  • Auth: API key in header x-speakai-key and API key in header x-access-token

Request body

agentIdstring required

Required.

urlstring uri required

Required.

titlestring required

Required. Max 200 characters.

descriptionstring required

Required. Max 1000 characters.

action'link' | 'presentation' required

Required.

contentType'video' | 'pdf' | 'image'

Response

Created

status'success'

Changes

No recorded changes to this operation across all 2 revisions of this API.