GET
/
{resourceSlug}
/
model
/
{modelid}
.json
curl --request GET \
  --url https://app.agentcloud.dev/{resourceSlug}/model/{modelid}.json
{
  "_id": "<string>",
  "orgId": "<string>",
  "teamId": "<string>",
  "name": "<string>",
  "model": "<string>",
  "embeddingLength": 123,
  "modelType": "<string>",
  "type": "<string>",
  "config": {
    "model": "<string>",
    "api_key": "<string>",
    "base_url": "<string>",
    "cohere_api_key": "<string>",
    "groq_api_key": "<string>"
  }
}

Path Parameters

resourceSlug
string
required

The resourceSlug is a URL parameter of the teamId associated with the user.

modelId
string
required

The ID of the model to retrieve.

Response

200
dynamicResponse

JSON object containing the retrieved model.

Represents an AI model used within a team or organization.