Lists the models and effort levels that the installed tool or bound provider of one provider profile reports now, cached for two minutes; it sends no prompt, starts no conversation and returns no credential.
const url = 'https://example.com/v1/m/sessions/provider-profiles/example/models';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://example.com/v1/m/sessions/provider-profiles/example/models \ --header 'Authorization: Bearer <token>'Lists the models and effort levels that the installed tool or bound provider of one provider profile reports now, cached for two minutes; it sends no prompt, starts no conversation and returns no credential.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Path parameter ref.
Header Parameters
Section titled “ Header Parameters ”Target tenant id; required when the principal can act in more than one tenant.
Query Parameters
Section titled “ Query Parameters ”Refresh the upstream catalog now.
Responses
Section titled “ Responses ”Live catalog from the profile’s installed tool or bound provider. Cached per profile for two minutes; refresh=true bypasses the cache. Free text remains available. Vendor errors, paths and credentials are never returned.
object
Empty selects the installed tool’s own default. Optional model markers and capabilities are present only when the tool reports them.
object
Example
{ "state": "fresh"}Invalid profile reference or refresh query
object
Example generated
{}Unauthenticated
object
Example generated
{}Profile read permission required
object
Example generated
{}Profile absent in this tenant
object
Example generated
{}Profile unavailable or changed during discovery
object
Example generated
{}Profile driver or authentication source is unavailable
object
Example generated
{}Rate limited
object
Example generated
{}Store or audit failure
object
Example generated
{}Required runtime wiring is unavailable
object
Example generated
{}