GET /v1/conversations/{id}/ai-goals
GET
/v1/conversations/{id}/ai-goals
const url = 'https://seu-endereco-da-api/v1/conversations/example/ai-goals';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://seu-endereco-da-api/v1/conversations/example/ai-goals \ --header 'Authorization: Bearer <token>'Permissão que a Chave de acesso precisa: Ler conversas (conversations:read).
Authorizations
Seção intitulada “Authorizations”Parameters
Seção intitulada “Parameters”Path Parameters
Seção intitulada “Path Parameters”id
required
string
Responses
Seção intitulada “Responses”The conversation’s goals, newest first, each with the actions the AI took and the steps it reached