Inceptiva· SDKv0.4.0
API REFERENCE

Create a response

POST /v1/agents/{agent_id}/responses

shell
curl --request POST \
  "https://api.inceptiva.com/v1/agents/$INCEPTIVA_AGENT_ID/responses" \
  --header "Authorization: Bearer $INCEPTIVA_API_KEY" \
  --header "Content-Type: application/json" \
  --header "Idempotency-Key: request-unique-id" \
  --data '{"message":"User question","conversation_id":null,"external_reference":"ticket-4821","metadata":{"source":"helpcenter"}}'
FieldTypeRequiredPurpose
messagestringYesUser input
conversation_idUUID or nullNoContinue a known conversation
external_referencestring or nullNoStable client correlation
metadataobjectNoValidated JSON trace data

The response contains conversation_id, response, and public citations. Replaying the same key and payload returns the stored result without charging usage again; a different payload returns 409.