Get the caller
GET
/v1/me
const url = 'https://deeperesearch.com/v1/me';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://deeperesearch.com/v1/me \ --header 'Authorization: Bearer <token>'Checks a key and shows which organization it belongs to and its credit.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The caller
Media typeapplication/json
object
object
required
string
user
required
onboarded
required
boolean
org
required
orgs
required
Array<object>
object
id
required
string format: uuid
name
required
string
role
required
string
credits
required
signup_credit_usd
required
US dollars
number
billing_enabled
required
boolean
Example
{ "object": "me"}Missing or invalid API key (unauthorized)
Media typeapplication/json
object
error
required
object
code
required
Stable, machine-readable error code. See Errors in the docs.
string
message
required
What went wrong, written for people
string
Example generated
{ "error": { "code": "example", "message": "example" }}Rate limit, spending limit or quota reached (rate_limited, limit_reached, quota_exceeded). See Retry-After.
Media typeapplication/json
object
error
required
object
code
required
Stable, machine-readable error code. See Errors in the docs.
string
message
required
What went wrong, written for people
string
Example generated
{ "error": { "code": "example", "message": "example" }}