Skip to main content

Get the profile library

POST 

/api/v1/agent-profiles/library

Returns the project's profile-selection library for building a picker. Its selection metadata omits runtime configuration; use get to inspect or edit a full profile. This discovery projection neither proves that an autonomous router is active nor guarantees a measured cost or latency improvement.

For a native conversation, pass the chosen profile ID through activeProfileId on thread creation or setActiveProfileId when sending a message; Travila loads its configuration. The returned defaultProfileId is not applied automatically when activeProfileId is empty. Your client must explicitly select its intended profile.

Request​

Responses​

Selection metadata for the project

Document ID: DOC-MA-profiles-prompts-api-getAgentProfileLibrary. Section identities and revisions.

SectionStable reference
OverviewDOC-MA-profiles-prompts-api-getAgentProfileLibrary#overview
RequestDOC-MA-profiles-prompts-api-getAgentProfileLibrary#request
ResponsesDOC-MA-profiles-prompts-api-getAgentProfileLibrary#responses