Unstructured API
Partition Endpoint
- Overview
- POST request
- Python SDK
- JavaScript/TypeScript SDK
- Endpoint parameters
- Endpoint validation errors
- Examples
- Document elements and metadata
- Partitioning strategies
- Chunking strategies
- Speed up processing of large files and batches
- Get element contents
- Extract tables as HTML
- Extract images and tables from documents
- Get chunked elements
- Transform a JSON file into a different schema
- Generate a JSON schema for a file
- Endpoint Playground
Troubleshooting
sources
Create source connector
Create a new source connector using the provided configuration and name.
POST
/
api
/
v1
/
sources
/
Copy
Ask AI
curl --request POST \
--url https://platform.unstructuredapp.io/api/v1/sources/ \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"type": "azure",
"config": {
"remote_url": "<string>",
"account_name": "<string>",
"account_key": "<string>",
"connection_string": "<string>",
"sas_token": "<string>",
"recursive": true
}
}'
Copy
Ask AI
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"type": "azure",
"config": {
"remote_url": "<string>",
"account_name": "<string>",
"account_key": "<string>",
"connection_string": "<string>",
"sas_token": "<string>",
"recursive": true
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
Headers
Body
application/json
Response
200
application/json
Successful Response
The response is of type object
.
Was this page helpful?
Copy
Ask AI
curl --request POST \
--url https://platform.unstructuredapp.io/api/v1/sources/ \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"type": "azure",
"config": {
"remote_url": "<string>",
"account_name": "<string>",
"account_key": "<string>",
"connection_string": "<string>",
"sas_token": "<string>",
"recursive": true
}
}'
Copy
Ask AI
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"type": "azure",
"config": {
"remote_url": "<string>",
"account_name": "<string>",
"account_key": "<string>",
"connection_string": "<string>",
"sas_token": "<string>",
"recursive": true
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
Assistant
Responses are generated using AI and may contain mistakes.