Unstructured API
Workflow Endpoint
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
users
Store an encrypted secret
After encrypting a secret locally, store it and get back a reference id.
POST
/
api
/
v1
/
users
/
secrets
Copy
Ask AI
curl --request POST \
--url https://platform.unstructuredapp.io/api/v1/users/secrets \
--header 'Content-Type: application/json' \
--data '{
"encrypted_value": "<string>",
"type": "rsa",
"encrypted_aes_key": "<string>",
"aes_iv": "<string>"
}'
Copy
Ask AI
{
"id": "<string>",
"type": "rsa"
}
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/users/secrets \
--header 'Content-Type: application/json' \
--data '{
"encrypted_value": "<string>",
"type": "rsa",
"encrypted_aes_key": "<string>",
"aes_iv": "<string>"
}'
Copy
Ask AI
{
"id": "<string>",
"type": "rsa"
}
Assistant
Responses are generated using AI and may contain mistakes.