Recuperar conversación
Recupera el contexto de la conversación almacenado y el historial de mensajes para un proyecto autenticado.
Authentication
Send a project-scoped NovaAI API key in the Authorization header using the Bearer scheme. Requests without valid credentials return 401 Unauthorized.
Authorization
string
requerido
Request properties
conversation_id
string
requerido
Identifier of the conversation to retrieve.
include_messages
boolean
opcional
Controls whether message content is returned with the conversation metadata.
after
string
opcional
Optional message cursor for paginating long histories.
Response behavior
A successful GET request returns a structured NovaAI resource response. Validate the returned identifier before persisting it, and handle 400 Bad Request for malformed input or 401 Unauthorized for invalid project credentials.
Integration notes
Use GET /v1/conversations/{conversation_id} from a trusted server environment. Keep your NovaAI API key out of browser bundles and pass only the data required for retrieve conversation in each request.
Validate inputs before sending the request, log the returned request identifier for troubleshooting, and use exponential backoff for temporary failures or rate-limit responses. Treat malformed payloads and authorization failures as non-retryable until corrected.
Error handling
Inspect the error type and code returned by NovaAI before retrying. Correct invalid parameters for 400 responses, refresh or replace credentials for 401 responses, and wait before retrying requests that are temporarily limited.