Models
Models API endpoints
/api/model-groupsAuthorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Response Body
application/json
curl -X GET "http://localhost:3013/api/model-groups"{
"groups": [
{
"id": "string",
"name": "string",
"description": "string",
"seededFrom": "string",
"members": [
"string"
],
"createdAt": "string",
"lastUpdatedAt": "string"
}
]
}/api/model-groupsAuthorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:3013/api/model-groups" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "members": [ "string" ] }'{
"id": "string",
"name": "string",
"description": "string",
"seededFrom": "string",
"members": [
"string"
],
"createdAt": "string",
"lastUpdatedAt": "string"
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}/api/model-groups/{name}Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
curl -X DELETE "http://localhost:3013/api/model-groups/string"{
"deleted": true
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}/api/model-groups/{name}Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
Response Body
application/json
application/json
curl -X GET "http://localhost:3013/api/model-groups/string"{
"id": "string",
"name": "string",
"description": "string",
"seededFrom": "string",
"members": [
"string"
],
"createdAt": "string",
"lastUpdatedAt": "string"
}{
"error": "string",
"property1": null,
"property2": null
}/api/model-groups/{name}Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X PATCH "http://localhost:3013/api/model-groups/string" \ -H "Content-Type: application/json" \ -d '{ "description": "string" }'{
"id": "string",
"name": "string",
"description": "string",
"seededFrom": "string",
"members": [
"string"
],
"createdAt": "string",
"lastUpdatedAt": "string"
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}/api/model-groups/{name}/membersAuthorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X PUT "http://localhost:3013/api/model-groups/string/members" \ -H "Content-Type: application/json" \ -d '{ "members": [ "string" ] }'{
"id": "string",
"name": "string",
"description": "string",
"seededFrom": "string",
"members": [
"string"
],
"createdAt": "string",
"lastUpdatedAt": "string"
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}/api/model-profilesAuthorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Query Parameters
"claude" | "codex" | "pi" | "devin" | "claude-managed" | "opencode" | "acp" | "dsh" | "amp" | "cursor" | "grok" | "fx"Response Body
application/json
curl -X GET "http://localhost:3013/api/model-profiles"{
"profiles": [
{
"id": "string",
"name": "string",
"harness": "claude",
"model": "string",
"effort": "off",
"allowCustomModel": true,
"description": "string",
"seededFrom": "string",
"credentials": {
"property1": [
"strin"
],
"property2": [
"strin"
]
},
"fallbacks": [
"string"
],
"createdAt": "string",
"lastUpdatedAt": "string"
}
]
}/api/model-profilesAuthorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:3013/api/model-profiles" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "harness": "claude", "model": "string" }'{
"id": "string",
"name": "string",
"harness": "claude",
"model": "string",
"effort": "off",
"allowCustomModel": true,
"description": "string",
"seededFrom": "string",
"credentials": {
"property1": [
"strin"
],
"property2": [
"strin"
]
},
"fallbacks": [
"string"
],
"createdAt": "string",
"lastUpdatedAt": "string"
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}/api/model-profiles/{name}Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
curl -X DELETE "http://localhost:3013/api/model-profiles/string"{
"deleted": true
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}/api/model-profiles/{name}Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
Response Body
application/json
application/json
curl -X GET "http://localhost:3013/api/model-profiles/string"{
"id": "string",
"name": "string",
"harness": "claude",
"model": "string",
"effort": "off",
"allowCustomModel": true,
"description": "string",
"seededFrom": "string",
"credentials": {
"property1": [
"strin"
],
"property2": [
"strin"
]
},
"fallbacks": [
"string"
],
"createdAt": "string",
"lastUpdatedAt": "string"
}{
"error": "string",
"property1": null,
"property2": null
}/api/model-profiles/{name}Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X PATCH "http://localhost:3013/api/model-profiles/string" \ -H "Content-Type: application/json" \ -d '{}'{
"id": "string",
"name": "string",
"harness": "claude",
"model": "string",
"effort": "off",
"allowCustomModel": true,
"description": "string",
"seededFrom": "string",
"credentials": {
"property1": [
"strin"
],
"property2": [
"strin"
]
},
"fallbacks": [
"string"
],
"createdAt": "string",
"lastUpdatedAt": "string"
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}{
"error": "string",
"property1": null,
"property2": null
}