POST
https://api.fireworks.ai
/
v1
/
accounts
/
{account_id}
/
datasets
curl --request POST \
  --url https://api.fireworks.ai/v1/accounts/{account_id}/datasets \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "dataset": {
    "displayName": "<string>",
    "exampleCount": "<string>",
    "userUploaded": {},
    "evaluationResult": {
      "evaluationJobId": "<string>"
    },
    "transformed": {
      "sourceDatasetId": "<string>",
      "filter": "<string>",
      "originalFormat": "FORMAT_UNSPECIFIED"
    },
    "externalUrl": "<string>",
    "format": "FORMAT_UNSPECIFIED"
  },
  "datasetId": "<string>",
  "sourceDatasetId": "<string>",
  "filter": "<string>"
}'
{
  "name": "<string>",
  "displayName": "<string>",
  "createTime": "2023-11-07T05:31:56Z",
  "state": "STATE_UNSPECIFIED",
  "status": {
    "code": "OK",
    "message": "<string>"
  },
  "exampleCount": "<string>",
  "userUploaded": {},
  "evaluationResult": {
    "evaluationJobId": "<string>"
  },
  "transformed": {
    "sourceDatasetId": "<string>",
    "filter": "<string>",
    "originalFormat": "FORMAT_UNSPECIFIED"
  },
  "externalUrl": "<string>",
  "format": "FORMAT_UNSPECIFIED",
  "createdBy": "<string>",
  "updateTime": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

account_id
string
required

The Account Id

Body

application/json

Response

200 - application/json

A successful response.

The response is of type object.