Skip to main content
POST
Index Media
Indexes one of your stored images so it can be found by Find Similar Media and Search Media. To index images as they’re uploaded instead, pass autoIndex=true to Upload Media.
Indexing the same image again is free and returns "cached": true.

Authorizations

Authorization
string
header
required

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

Path Parameters

mediaId
string<uuid>
required

The image's ID.

Response

The image is indexed

indexStatus
enum<string> | null

Where search indexing has got to. skipped means the account had no credit left for indexing. Null when indexing was never asked for.

Available options:
pending,
done,
failed,
skipped
cached
boolean

True when the same image was indexed before; you weren't charged.