Update Report Metadata
POST/api/v1/reports/:report_id
Update metadata for a report.
Request
Path Parameters
report_id uuidrequired
Query Parameters
project_id any
organization_id any
Cookie Parameters
session any
- application/json
Body
required
name Name (string)required
The name of the report
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
id uuidrequired
The id of the report
name Name (string)required
The name of the report
report_metadata objectrequired
The metadata for the report
state ReportState (string)required
The state of the report
Possible values: [pending
, planning
, waiting_approval
, generating
, completed
, error
]
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"report_metadata": {},
"state": "pending"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}