List extraction schemas for the team.
import requests
url = "https://www.datalab.to/api/v1/extraction_schemas"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"schemas": [
{
"id": 123,
"schema_id": "<string>",
"name": "<string>",
"description": "<string>",
"schema_json": {},
"version": 123,
"archived": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"version_history": [
"<unknown>"
]
}
],
"total": 123
}1 <= x <= 200x >= 0Was this page helpful?
import requests
url = "https://www.datalab.to/api/v1/extraction_schemas"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"schemas": [
{
"id": 123,
"schema_id": "<string>",
"name": "<string>",
"description": "<string>",
"schema_json": {},
"version": 123,
"archived": true,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"version_history": [
"<unknown>"
]
}
],
"total": 123
}