Model routes
Model catalog, endpoint health and usage statistics.
Requires a team token issued by app-node. The optional X-Team-Id header narrows the scope to one of the token's teams.
teamTokenttr-team-token<token>Team token issued by app-node. Sent as the ttr-team-token header.
search?stringoffset?stringlimit?stringx-team-id?stringTeam to act on. Must be one of the teams in the token. Optional.
Default Response
curl -X GET 'https://your-inference-url/v1/models' \ -H 'ttr-team-token: <team-token>'Requires a team token issued by app-node. The optional X-Team-Id header narrows the scope to one of the token's teams.
teamTokenttr-team-token<token>Team token issued by app-node. Sent as the ttr-team-token header.
endpoint_name*string1 <= lengthx-team-id?stringTeam to act on. Must be one of the teams in the token. Optional.
Default Response
curl -X GET 'https://your-inference-url/v1/models/string' \ -H 'ttr-team-token: <team-token>'Requires a team token issued by app-node. The optional X-Team-Id header narrows the scope to one of the token's teams.
teamTokenttr-team-token<token>Team token issued by app-node. Sent as the ttr-team-token header.
period?string"1h""1h""6h""24h""7d""30d"overwrite_cache?booleanx-team-id?stringTeam to act on. Must be one of the teams in the token. Optional.
Default Response
curl -X GET 'https://your-inference-url/v1/models/stats' \ -H 'ttr-team-token: <team-token>'Requires a team token issued by app-node. The optional X-Team-Id header narrows the scope to one of the token's teams.
teamTokenttr-team-token<token>Team token issued by app-node. Sent as the ttr-team-token header.
endpoint_name*string1 <= lengthperiod?string"1h""1h""6h""24h""7d""30d"overwrite_cache?booleanx-team-id?stringTeam to act on. Must be one of the teams in the token. Optional.
Default Response
curl -X GET 'https://your-inference-url/v1/models/stats/string' \ -H 'ttr-team-token: <team-token>'