Welcome to the Codata Public API documentation. This API allows you to programmatically access our privacy-enhancing technologies.
All endpoints require an X-API-Key header for authentication.
- Process Data With Api Key
Process data using API key authentication with PETs (Privacy Enhancing Technologies). Checks subscription status and decrements call count. Saves query execution to history if row count > 30.
| Name | Description |
|---|---|
X-API-Key* | API Key for authentication |
{
"data": {
"additionalProp1": {}
},
"column_options": [],
"column_analysis": {}
}Fields:
data: Your data to process (dict with columns and rows)column_options: List of column-specific PETs processing optionscolumn_analysis: (Optional) Chart preferences. Format: {"column_name": "chart_type"}Successful Response
{
"success": true,
"message": "string",
"processed_data": {
"additionalProp1": {}
},
"subscription_info": {
"additionalProp1": {}
}
}Validation Error
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}- Get Subscription Info
Get subscription information for the current API key including plan details, remaining calls, and expiration date.
| Name | Description |
|---|---|
X-API-Key* | API Key for authentication |
Successful Response
string
Validation Error
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}