List Reports
GET/api/v1/reports/list
List all reports for a project.
Request
Query Parameters
100
0
Cookie Parameters
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Array [
- Report
Array [
Array [
- MOD1
Array [
]
- RelatedNodeInfo
- MOD2
- ObjectType
- MOD2
- MOD1
Array [
- ObjectType
- MOD2
- MOD1
]
- MOD1
- MOD1
- MOD1
]
]
- ReportPlan
Array [
Array [
- MOD1
Array [
]
- RelatedNodeInfo
- MOD2
- ObjectType
- MOD2
- MOD1
Array [
- ObjectType
- MOD2
- MOD1
]
- MOD1
- MOD1
- MOD1
]
Array [
]
]
]
report_responses
object[]
required
report
object
required
anyOf
The id of the report
blocks
object[]
The blocks of the report
The index of the block
The content of the block
sources
object[]
The sources for the block
node
object
required
Provided for backward compatibility.
Note: we keep the field with the typo "seperator" to maintain backward compatibility for serialized objects.
Unique ID of the node.
embedding
object
Embedding of the node.
anyOf
number
A flat dictionary of metadata fields
Metadata keys that are excluded from text for the embed model.
Metadata keys that are excluded from text for the LLM.
relationships
object
A mapping of relationships to other node information.
property name*
object
anyOf
node_type
object
anyOf
string
Possible values: [1
, 2
, 3
, 4
, 5
]
string
hash
object
anyOf
string
RelatedNodeInfo
node_type
object
anyOf
string
Possible values: [1
, 2
, 3
, 4
, 5
]
string
hash
object
anyOf
string
RelatedNodeInfo
Template for how metadata is formatted, with {key} and {value} placeholders.
{key}: {value}
Separator between metadata fields when converting to string.
Text content of the node.
MIME type of the node content.
text/plain
start_char_idx
object
Start char index of the node.
anyOf
integer
end_char_idx
object
End char index of the node.
anyOf
integer
Separator between metadata fields when converting to string.
Template for how text is formatted, with {content} and {metadata_str} placeholders.
{metadata_str}
{content}
TextNode
score
object
anyOf
number
TextNodeWithScore
plan
object
required
anyOf
The id of the report plan
blocks
object[]
The blocks of the report
block
object
required
The index of the block
The content of the block
sources
object[]
The sources for the block
node
object
required
Provided for backward compatibility.
Note: we keep the field with the typo "seperator" to maintain backward compatibility for serialized objects.
Unique ID of the node.
embedding
object
Embedding of the node.
anyOf
number
A flat dictionary of metadata fields
Metadata keys that are excluded from text for the embed model.
Metadata keys that are excluded from text for the LLM.
relationships
object
A mapping of relationships to other node information.
property name*
object
anyOf
node_type
object
anyOf
string
Possible values: [1
, 2
, 3
, 4
, 5
]
string
hash
object
anyOf
string
RelatedNodeInfo
node_type
object
anyOf
string
Possible values: [1
, 2
, 3
, 4
, 5
]
string
hash
object
anyOf
string
RelatedNodeInfo
Template for how metadata is formatted, with {key} and {value} placeholders.
{key}: {value}
Separator between metadata fields when converting to string.
Text content of the node.
MIME type of the node content.
text/plain
start_char_idx
object
Start char index of the node.
anyOf
integer
end_char_idx
object
End char index of the node.
anyOf
integer
Separator between metadata fields when converting to string.
Template for how text is formatted, with {content} and {metadata_str} placeholders.
{metadata_str}
{content}
TextNode
score
object
anyOf
number
TextNodeWithScore
queries
object[]
The queries for the block
The field in the template that needs to be filled in
The prompt for filling in the field
Any additional context for the query
The dependency for the block
Possible values: [none
, all
, previous
, next
]
The timestamp of when the plan was generated
Possible values: [pending
, planning
, waiting_approval
, generating
, completed
, error
]
{
"report_responses": [
{
"name": "string",
"report_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"report": {},
"plan": {},
"version": 0,
"last_updated": "2024-07-29T15:51:28.071Z",
"status": "pending",
"total_versions": 0
}
],
"limit": 0,
"offset": 0,
"total_count": 0
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}