Skip to main content
GET
/
v1
/
accounts
/
{account_id}
/
evaluators
cURL
curl --request GET \
  --url https://api.fireworks.ai/v1/accounts/{account_id}/evaluators \
  --header 'Authorization: Bearer <token>'
{
  "evaluators": [
    {
      "name": "<string>",
      "displayName": "<string>",
      "description": "<string>",
      "createTime": "2023-11-07T05:31:56Z",
      "createdBy": "<string>",
      "updateTime": "2023-11-07T05:31:56Z",
      "state": "STATE_UNSPECIFIED",
      "multiMetrics": true,
      "criteria": [
        {
          "type": "TYPE_UNSPECIFIED",
          "name": "<string>",
          "description": "<string>",
          "codeSnippets": {
            "language": "<string>",
            "fileContents": {},
            "entryFile": "<string>",
            "entryFunc": "<string>"
          }
        }
      ],
      "requirements": "<string>",
      "rollupSettings": {
        "criteriaWeights": {},
        "pythonCode": "<string>",
        "successThreshold": 123,
        "skipRollup": true
      },
      "entryPoint": "<string>",
      "status": {
        "code": "OK",
        "message": "<string>"
      },
      "commitHash": "<string>",
      "source": {
        "type": "TYPE_UNSPECIFIED",
        "githubRepositoryName": "<string>"
      },
      "defaultDataset": "<string>"
    }
  ],
  "nextPageToken": "<string>",
  "totalSize": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication using your Fireworks API key. Format: Bearer <API_KEY>

Path Parameters

account_id
string
required

The Account Id

Query Parameters

pageSize
integer<int32>
pageToken
string
filter
string
orderBy
string
readMask
string

The fields to be returned in the response. If empty or "*", all fields will be returned.

Response

200 - application/json

A successful response.

evaluators
Next ID: 17 · object[]
nextPageToken
string
totalSize
integer<int32>