Log workflows to an Observe project.
Use this endpoint to log workflows to an Observe project. The request body should contain the
workflows
to be ingested.
Additionally, specify the project_id
or project_name
to which the workflows should be ingested.
If the project does not exist, it will be created. If the project exists, the workflows will be logged to it.
If both project_id
and project_name
are provided, project_id
will take precedence.
type
: The type of the workflow.input
: The input to the workflow.output
: The output of the workflow.workflow
, agent
or chain
can have sub-steps with children. A workflow with a retriver and an LLM step would look like this:
Successful Response
The response is of type object
.