collections

Create Collection

Create a collection on a provider.

The model string is fixed at creation: items added here and /v3/universal-ai calls against this collection all run on its provider. Returns the collection id to use in item operations and inference calls.

post/v3/universal-ai/collections

Request

  • Base URL
    https://api.edenai.run
  • Auth
    HTTP bearer

Request body

modelstring required

Model string the collection binds to, as 'feature/subfeature/provider' (e.g. 'image/face_recognition/amazon'). Fixed at creation: item operations and /v3/universal-ai calls against this collection all run on that provider.

namestring nullable

Optional human-readable name for the collection.

Response

Successful Response

collection_idstring uuid required

Client-facing collection id; use it in item operations and in /v3/universal-ai calls that take a collection_id input.

modelstring required

'feature/subfeature/provider' string the collection is bound to.

namestring nullable

Collection name, if any.

Changes

No recorded changes to this operation across all 1 revision of this API.