curl --request POST \
--url https://api.fireworks.ai/v1/accounts/{account_id}/evaluationJobs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"evaluationJob": {
"evaluator": "<string>",
"inputDataset": "<string>",
"outputDataset": "<string>",
"displayName": "<string>",
"outputStats": "<string>"
},
"evaluationJobId": "<string>",
"leaderboardIds": [
"<string>"
]
}
'{
"evaluator": "<string>",
"inputDataset": "<string>",
"outputDataset": "<string>",
"name": "<string>",
"displayName": "<string>",
"createTime": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"state": "JOB_STATE_UNSPECIFIED",
"status": {
"code": "OK",
"message": "<string>"
},
"metrics": {},
"outputStats": "<string>",
"updateTime": "2023-11-07T05:31:56Z"
}curl --request POST \
--url https://api.fireworks.ai/v1/accounts/{account_id}/evaluationJobs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"evaluationJob": {
"evaluator": "<string>",
"inputDataset": "<string>",
"outputDataset": "<string>",
"displayName": "<string>",
"outputStats": "<string>"
},
"evaluationJobId": "<string>",
"leaderboardIds": [
"<string>"
]
}
'{
"evaluator": "<string>",
"inputDataset": "<string>",
"outputDataset": "<string>",
"name": "<string>",
"displayName": "<string>",
"createTime": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"state": "JOB_STATE_UNSPECIFIED",
"status": {
"code": "OK",
"message": "<string>"
},
"metrics": {},
"outputStats": "<string>",
"updateTime": "2023-11-07T05:31:56Z"
}Bearer authentication using your Fireworks API key. Format: Bearer <API_KEY>
The Account Id
Show child attributes
The fully-qualified resource name of the Evaluation used by this job.
Format: accounts/{account_id}/evaluators/{evaluator_id}
The fully-qualified resource name of the input Dataset used by this job.
Format: accounts/{account_id}/datasets/{dataset_id}
The fully-qualified resource name of the output Dataset created by this job.
Format: accounts/{account_id}/datasets/{output_dataset_id}
The output dataset's aggregated stats for the evaluation job.
Optional leaderboards to attach this job to upon creation.
A successful response.
The fully-qualified resource name of the Evaluation used by this job.
Format: accounts/{account_id}/evaluators/{evaluator_id}
The fully-qualified resource name of the input Dataset used by this job.
Format: accounts/{account_id}/datasets/{dataset_id}
The fully-qualified resource name of the output Dataset created by this job.
Format: accounts/{account_id}/datasets/{output_dataset_id}
JobState represents the state an asynchronous job can be in.
JOB_STATE_UNSPECIFIED, JOB_STATE_CREATING, JOB_STATE_RUNNING, JOB_STATE_COMPLETED, JOB_STATE_FAILED, JOB_STATE_CANCELLED, JOB_STATE_DELETING, JOB_STATE_WRITING_RESULTS, JOB_STATE_VALIDATING, JOB_STATE_DELETING_CLEANING_UP, JOB_STATE_PENDING, JOB_STATE_EXPIRED, JOB_STATE_RE_QUEUEING, JOB_STATE_CREATING_INPUT_DATASET, JOB_STATE_IDLE, JOB_STATE_CANCELLING, JOB_STATE_EARLY_STOPPED, JOB_STATE_PAUSED Show child attributes
The status code.
OK, CANCELLED, UNKNOWN, INVALID_ARGUMENT, DEADLINE_EXCEEDED, NOT_FOUND, ALREADY_EXISTS, PERMISSION_DENIED, UNAUTHENTICATED, RESOURCE_EXHAUSTED, FAILED_PRECONDITION, ABORTED, OUT_OF_RANGE, UNIMPLEMENTED, INTERNAL, UNAVAILABLE, DATA_LOSS A developer-facing error message in English.
The output dataset's aggregated stats for the evaluation job.
The update time for the evaluation job.
Was this page helpful?