How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Prefect Logs API

Interact with a Workspace's Logs.

Prefect Logs API is one of 63 APIs that Prefect publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include Logs. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, authentication docs, a getting-started guide, and an AsyncAPI specification.

This API exposes 7 operations across 7 paths, and defines 17 schemas. It is described by OpenAPI 3.2.0, at version 0.8.4.

7 operations 7 paths 17 schemas 5 GET2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
0.8.4
Resource Areas
1

Paths & Operations 7

Across 7 paths, the API surfaces 7 operations — 5 GET, 2 POST. Each is listed below with its method, path, parameters, and response codes.

Logs 7

Interact with a Workspace's Logs.

POST
/api/accounts/{account_id}/workspaces/{workspace_id}/logs/
Create Logs
create_logs_api_accounts__account_id__workspaces__workspace_id__logs__post 3 params body → 202422
POST
/api/accounts/{account_id}/workspaces/{workspace_id}/logs/filter
Read Logs
read_logs_api_accounts__account_id__workspaces__workspace_id__logs_filter_post 3 params body → 200422
GET
/api/accounts/{account_id}/workspaces/{workspace_id}/flow_runs/{id}/logs
Get Flow Run Logs
get_flow_run_logs_api_accounts__account_id__workspaces__workspace_id__flow_runs__id__logs_get 15 params → 200422
GET
/api/accounts/{account_id}/workspaces/{workspace_id}/flow_runs/{id}/download-logs-csvdeprecated
Download Flow Run Logs
download_flow_run_logs_api_accounts__account_id__workspaces__workspace_id__flow_runs__id__download_logs_csv_get 3 params → 200422
GET
/api/accounts/{account_id}/workspaces/{workspace_id}/flow_runs/{id}/logs/download
Download Flow Run Logs
download_flow_run_logs_api_accounts__account_id__workspaces__workspace_id__flow_runs__id__logs_download_get 3 params → 200422
GET
/api/accounts/{account_id}/workspaces/{workspace_id}/traces/{trace_id}/observed-loggers
Read Trace Observed Loggers
read_trace_observed_loggers_api_accounts__account_id__workspaces__workspace_id__traces__trace_id__observed_loggers_get 6 params → 200422
GET
/api/accounts/{account_id}/workspaces/{workspace_id}/observed-loggers
Read Workspace Observed Loggers
read_workspace_observed_loggers_api_accounts__account_id__workspaces__workspace_id__observed_loggers_get 5 params → 200422

Schemas 17

The contract defines 17 schemas that model the data the API accepts and returns. The most detailed are Log (10 properties), LogFilter (8 properties), LogCreate (7 properties), Body_read_logs_api_accounts__account_id__workspaces__workspace_id__logs_filter_post (4 properties). Each schema is shown below with its type and property counts.

ObservedLoggerSort
string
Defines observed logger sorting options.
LogFilterWorkerId
object
Filter by Log.workerid.
3 properties
LogSort
string
Defines log sorting options.
prefect_cloud__orion__schemas__filters__Operator
string
Operators for combining filter criteria.
LogFilterLoggers
object
Filter by Log.name (logger name).
1 property
LogFilterLevel
object
Filter by Log.level.
2 properties
LogFilter
object
Filter logs. Only logs matching all criteria will be returned
8 properties
ObservedLogger
object
An observed logger name from logs.
4 properties 4 required
LogFilterTextSearch
object
Filter by text search across log content.
1 property 1 required
Log
object
An ORM representation of log data.
10 properties 4 required
LogFilterTimestamp
object
Filter by Log.timestamp.
2 properties
LogCreate
object
Data used by the Prefect REST API to create a log.
7 properties 4 required
LogFilterFlowRunId
object
Filter by Log.flowrunid.
1 property
LogFilterTaskRunId
object
Filter by Log.taskrunid.
2 properties
Body_read_logs_api_accounts__account_id__workspaces__workspace_id__logs_filter_post
object
4 properties
HTTPValidationError
object
1 property
ValidationError
object
3 properties 3 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

prefect-logs-api-openapi.yml Raw ↑

Other APIs Prefect publishes across the network.

Prefect Server REST API
Prefect Python SDK
Prefect Account Billing API
Prefect Account Images API
Prefect Account Memberships API
Prefect Account Roles API
Prefect Account SSO API
Prefect Accounts API
Prefect AI API
Prefect Artifacts API
Prefect Asset Publications API
Prefect Asset Subscriptions API
Where this information came from

This is an independent, third-party profile of Prefect Logs API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.