Variables
Read Variables
POST
/
api
/
variables
/
filter
Headers
x-prefect-api-version
string
Body
application/json
offset
integer
default: 0Required range:
x > 0
variables
object | null
Filter variables. Only variables matching all criteria will be returned
sort
enum<string>
Defines variables sorting options.
Available options:
CREATED_DESC
, UPDATED_DESC
, NAME_DESC
, NAME_ASC
limit
integer
Defaults to PREFECT_API_DEFAULT_LIMIT if not provided.
Response
200 - application/json
id
string
created
string | null
updated
string | null
name
string
requiredThe name of the variable
Maximum length:
255
value
required
The value of the variable
tags
string[]
A list of variable tags
Was this page helpful?