Variables
Read Variables
POST
/
api
/
variables
/
filter
Headers
x-prefect-api-version
string
Body
application/json
offset
integer
default: 0variables
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
value
required
The value of the variable
tags
string[]
A list of variable tags
Was this page helpful?