Skip to main content
Prefect home page
Search...
⌘K
PrefectHQ/Prefect
PrefectHQ/Prefect
Search...
Navigation
Artifacts
Count Latest Artifacts
Getting Started
Concepts
How-to Guides
Advanced
Examples
Integrations
API Reference
Contribute
Release Notes
API Reference
Overview
Settings reference
REST API
REST API overview
Cloud API
Server API
Server API Overview
Root
Flows
Flow Runs
Task Runs
Flow Run States
Task Run States
Deployments
SavedSearches
Logs
Concurrency Limits
Concurrency Limits V2
Block types
Block documents
Work Pools
Task Workers
Work Queues
Artifacts
POST
Create Artifact
GET
Read Artifact
DEL
Delete Artifact
PATCH
Update Artifact
GET
Read Latest Artifact
POST
Read Artifacts
POST
Read Latest Artifacts
POST
Count Artifacts
POST
Count Latest Artifacts
Block schemas
Block capabilities
Collections
Variables
GET
Create Csrf Token
Events
Automations
Admin
CLI Reference
Python SDK Reference
200
422
Copy
123
Artifacts
Count Latest Artifacts
Count artifacts from the database.
POST
/
api
/
artifacts
/
latest
/
count
200
422
Copy
123
Headers
x-prefect-api-version
string
Body
application/json
artifacts
object
Show child attributes
flow_runs
object
Show child attributes
task_runs
object
Show child attributes
flows
object
Show child attributes
deployments
object
Show child attributes
Response
200
application/json
Was this page helpful?
Yes
No
Count Artifacts
Create Block Schema
⌘I