Get extraction schema by ID.
Python
import requests url = "https://www.datalab.to/api/v1/extraction_schemas/{schema_id}" headers = {"X-API-Key": "<api-key>"} response = requests.get(url, headers=headers) print(response.text)
{ "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>" ] }
Successful Response
Was this page helpful?