Skip to main content
POST
/
v2
/
remoteconfigs
Retrieve a remote config
curl --request POST \
  --url https://api.orq.ai/v2/remoteconfigs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "key": "<string>",
  "context": {},
  "metadata": {}
}'
{
  "type": "boolean",
  "value": "<any>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
key
string
required

Remote configuration key

context
object

Key-value pairs matching your data model, applied to each prompt key.

metadata
object

Key-value pairs to attach to the log generated by this request.

Response

An individual remote config

type
enum<string>
required
Available options:
boolean,
string,
integer,
decimal,
list,
json,
deployment
value
any