Skip to content

List saved lenses

GET
/api/v1/lenses
curl --request GET \
--url http://localhost:11044/api/v1/lenses \
--header 'X-Embabel-Api-Key: <X-Embabel-Api-Key>'
username
string

Optional, and never needed: the call always acts as the signed-in principal. Naming the principal changes nothing; naming anyone else is refused with 403.

OK

Media typeapplication/json
object

Example generated

{}

No authenticated principal

Media typeapplication/json

A refusal carrying only a human-readable reason.

object
error
required

What went wrong, in the terms the caller can act on.

string

Example generated

{
"error": "example"
}

username names someone other than the signed-in principal

Media typeapplication/json

A refusal carrying only a human-readable reason.

object
error
required

What went wrong, in the terms the caller can act on.

string

Example generated

{
"error": "example"
}