Log Workflows
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.
curl --request POST \
--url https://api.acme.rungalileo.io/v1/observe/workflows \
--header 'Content-Type: application/json' \
--header 'Galileo-API-Key: <api-key>' \
--data '{
"project_name": "my-observe-project",
"workflows": [
{
"created_at_ns": 1744827335338709200,
"duration_ns": 0,
"input": "who is a smart LLM?",
"metadata": {},
"name": "llm",
"output": "I am!",
"type": "llm"
}
]
}'
{
"message": "<string>",
"project_id": "<string>",
"project_name": "<string>",
"workflows_count": 123,
"records_count": 123
}
Authorizations
Body
List of workflows to log.
Input to the step.
Type of the step. By default, it is set to workflow.
"workflow"
Output of the step.
Name of the step.
Timestamp of the step's creation, as nanoseconds since epoch.
Duration of the step in nanoseconds.
Status code of the step. Used for logging failed/errored steps.
Ground truth expected output for the step.
Steps in the workflow.
Input to the step.
Type of the step. By default, it is set to workflow.
"workflow"
Output of the step.
Name of the step.
Timestamp of the step's creation, as nanoseconds since epoch.
Duration of the step in nanoseconds.
Metadata associated with this step.
Status code of the step. Used for logging failed/errored steps.
Ground truth expected output for the step.
Steps in the workflow.
Input to the step.
Type of the step. By default, it is set to workflow.
"workflow"
Output of the step.
Name of the step.
Timestamp of the step's creation, as nanoseconds since epoch.
Duration of the step in nanoseconds.
Metadata associated with this step.
Status code of the step. Used for logging failed/errored steps.
Ground truth expected output for the step.
Steps in the workflow.
Input to the step.
Type of the step. By default, it is set to workflow.
"workflow"
Output of the step.
Name of the step.
Timestamp of the step's creation, as nanoseconds since epoch.
Duration of the step in nanoseconds.
Metadata associated with this step.
Status code of the step. Used for logging failed/errored steps.
Ground truth expected output for the step.
Steps in the workflow.
Parent node of the current node. For internal use only.
Parent node of the current node. For internal use only.
Input to the step.
Type of the step. By default, it is set to workflow.
chain
, chat
, llm
, retriever
, tool
, agent
, workflow
, trace
Output of the step.
Name of the step.
Timestamp of the step's creation, as nanoseconds since epoch.
Duration of the step in nanoseconds.
Metadata associated with this step.
Status code of the step. Used for logging failed/errored steps.
Ground truth expected output for the step.
Steps in the workflow.
Parent node of the current node. For internal use only.
Input to the step.
Type of the step. By default, it is set to workflow.
chain
, chat
, llm
, retriever
, tool
, agent
, workflow
, trace
Output of the step.
Name of the step.
Timestamp of the step's creation, as nanoseconds since epoch.
Duration of the step in nanoseconds.
Metadata associated with this step.
Status code of the step. Used for logging failed/errored steps.
Ground truth expected output for the step.
Steps in the workflow.
Input to the step.
Type of the step. By default, it is set to workflow.
"workflow"
Output of the step.
Name of the step.
Timestamp of the step's creation, as nanoseconds since epoch.
Duration of the step in nanoseconds.
Metadata associated with this step.
Status code of the step. Used for logging failed/errored steps.
Ground truth expected output for the step.
Steps in the workflow.
Parent node of the current node. For internal use only.
Parent node of the current node. For internal use only.
Input to the step.
Type of the step. By default, it is set to workflow.
chain
, chat
, llm
, retriever
, tool
, agent
, workflow
, trace
Output of the step.
Name of the step.
Timestamp of the step's creation, as nanoseconds since epoch.
Duration of the step in nanoseconds.
Metadata associated with this step.
Status code of the step. Used for logging failed/errored steps.
Ground truth expected output for the step.
Steps in the workflow.
Input to the step.
Type of the step. By default, it is set to workflow.
"workflow"
Output of the step.
Name of the step.
Timestamp of the step's creation, as nanoseconds since epoch.
Duration of the step in nanoseconds.
Metadata associated with this step.
Status code of the step. Used for logging failed/errored steps.
Ground truth expected output for the step.
Steps in the workflow.
Input to the step.
Type of the step. By default, it is set to workflow.
"workflow"
Output of the step.
Name of the step.
Timestamp of the step's creation, as nanoseconds since epoch.
Duration of the step in nanoseconds.
Metadata associated with this step.
Status code of the step. Used for logging failed/errored steps.
Ground truth expected output for the step.
Steps in the workflow.
Parent node of the current node. For internal use only.
Parent node of the current node. For internal use only.
Input to the step.
Type of the step. By default, it is set to workflow.
chain
, chat
, llm
, retriever
, tool
, agent
, workflow
, trace
Output of the step.
Name of the step.
Timestamp of the step's creation, as nanoseconds since epoch.
Duration of the step in nanoseconds.
Metadata associated with this step.
Status code of the step. Used for logging failed/errored steps.
Ground truth expected output for the step.
Steps in the workflow.
Project ID for the Observe project.
Project name for the Observe project.
Was this page helpful?
curl --request POST \
--url https://api.acme.rungalileo.io/v1/observe/workflows \
--header 'Content-Type: application/json' \
--header 'Galileo-API-Key: <api-key>' \
--data '{
"project_name": "my-observe-project",
"workflows": [
{
"created_at_ns": 1744827335338709200,
"duration_ns": 0,
"input": "who is a smart LLM?",
"metadata": {},
"name": "llm",
"output": "I am!",
"type": "llm"
}
]
}'
{
"message": "<string>",
"project_id": "<string>",
"project_name": "<string>",
"workflows_count": 123,
"records_count": 123
}