Datapoints

Creates a new datapoint in the specified dataset.

Changed on

Send either segments or the legacy fields, which fill the default segments. Returns 400 when the content does not fit the dataset's schema.

post/dataset/{datasetId}/datapoint

Request

  • Base URL
    https://api.rapidata.ai
  • URL
    https://api.rapidata.ai/dataset/{datasetId}/datapoint
  • Auth
    OpenID Connect (https://auth.rapidata.ai/.well-known/openid-configuration, scopes: openid, profile, email, offline_access, api)

Path parameters

datasetIdstring required

The id of the dataset to create the datapoint in.

Request body

sortIndexinteger nullable

The sort index represents the order of the datapoint in the dataset.

groupstring nullable

The group a datapoint belongs to.

privateMetadataobject nullable

Private metadata for internal tracking. Not displayed to users.

Response

OK

datapointIdstring required

The id of the created datapoint.

Changes

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • info

      added the new optional request property

    • info

      the security scope api was added to the endpoint's security scheme OpenIdConnect