Extractions
Get Extraction
Extractions
Get Extraction
Retrieve a specific extraction by its ID
GET
/
extractions
/
{id}
curl --request GET \
--url https://api.flora.withflora.ai/extractions/5f9b2c1a-3e5d-4f8a-b9c2-1a3e5d4f8ab9 \
--header 'Authorization: Bearer <your_token>'
{
"status": true,
"message": "Extraction retrieved successfully",
"data": {
"id": "5f9b2c1a-3e5d-4f8a-b9c2-1a3e5d4f8ab9",
"schemaId": "00f9190e-9a4a-4e08-ba00-f888437ed3c4",
"source": {
"type": "url",
"content": "https://example.com/news/article"
},
"result": {
"title": "Breaking News: Major Scientific Discovery",
"summary": "Scientists have made a groundbreaking discovery...",
"link": "https://example.com/full-article"
},
"status": "completed",
"createdAt": "2025-03-20T16:42:31.163+00:00"
}
}
This endpoint retrieves a specific extraction using its unique identifier.
Path Parameters
The unique identifier of the extraction to retrieve
Response
Indicates if the request was successful
A message describing the result of the operation
The extraction details
Unique identifier for the extraction
ID of the schema used for extraction
The extracted data formatted according to the schema
Current status of the extraction (e.g., “completed”, “processing”, “failed”)
Timestamp when the extraction was created
curl --request GET \
--url https://api.flora.withflora.ai/extractions/5f9b2c1a-3e5d-4f8a-b9c2-1a3e5d4f8ab9 \
--header 'Authorization: Bearer <your_token>'
{
"status": true,
"message": "Extraction retrieved successfully",
"data": {
"id": "5f9b2c1a-3e5d-4f8a-b9c2-1a3e5d4f8ab9",
"schemaId": "00f9190e-9a4a-4e08-ba00-f888437ed3c4",
"source": {
"type": "url",
"content": "https://example.com/news/article"
},
"result": {
"title": "Breaking News: Major Scientific Discovery",
"summary": "Scientists have made a groundbreaking discovery...",
"link": "https://example.com/full-article"
},
"status": "completed",
"createdAt": "2025-03-20T16:42:31.163+00:00"
}
}
Was this page helpful?
curl --request GET \
--url https://api.flora.withflora.ai/extractions/5f9b2c1a-3e5d-4f8a-b9c2-1a3e5d4f8ab9 \
--header 'Authorization: Bearer <your_token>'
{
"status": true,
"message": "Extraction retrieved successfully",
"data": {
"id": "5f9b2c1a-3e5d-4f8a-b9c2-1a3e5d4f8ab9",
"schemaId": "00f9190e-9a4a-4e08-ba00-f888437ed3c4",
"source": {
"type": "url",
"content": "https://example.com/news/article"
},
"result": {
"title": "Breaking News: Major Scientific Discovery",
"summary": "Scientists have made a groundbreaking discovery...",
"link": "https://example.com/full-article"
},
"status": "completed",
"createdAt": "2025-03-20T16:42:31.163+00:00"
}
}