Overview
The Nika API provides programmatic access to all Nika services including NikaWorkspace, NikaHub, and NikaStudio. This reference documents all available endpoints, parameters, and responses.Authentication
API Key Authentication
All API requests require authentication using an API key in the request header:Rate Limits
- Free Tier: 1,000 requests per hour
- Pro Tier: 10,000 requests per hour
- Enterprise Tier: 100,000 requests per hour
Base URL
Workspace API
List Workspaces
Parameters
Parameter | Type | Description |
---|---|---|
page | integer | Page number (default: 1) |
limit | integer | Items per page (default: 20, max: 100) |
search | string | Search workspaces by name |
status | string | Filter by status (active, archived) |
Response
Create Workspace
Request Body
Response
Get Workspace
Response
Update Workspace
Request Body
Delete Workspace
Data API
Upload Data
Request Body (multipart/form-data)
Response
List Data
Parameters
Parameter | Type | Description |
---|---|---|
page | integer | Page number |
limit | integer | Items per page |
type | string | Filter by data type (csv, geojson, shapefile) |
status | string | Filter by status (ready, processing, error) |
Get Data
Delete Data
Analysis API
Run Analysis
Request Body
Response
Get Analysis Status
Response
List Analysis
Visualization API
Create Map
Request Body
Response
Get Visualization
Update Visualization
Delete Visualization
Hub API
List Projects
Parameters
Parameter | Type | Description |
---|---|---|
page | integer | Page number |
limit | integer | Items per page |
category | string | Filter by category |
tags | string | Filter by tags (comma-separated) |
search | string | Search projects |
Response
Get Project
Create Project
Request Body
Update Project
Delete Project
Studio API
List Applications
Parameters
Parameter | Type | Description |
---|---|---|
page | integer | Page number |
limit | integer | Items per page |
template | string | Filter by template |
status | string | Filter by status |
Response
Create Application
Request Body
Get Application
Update Application
Delete Application
Deploy Application
Request Body
AI Agent API
Generate Code
Request Body
Response
Generate Analysis
Request Body
Generate Visualization
Request Body
Error Responses
Standard Error Format
Common Error Codes
Code | Description |
---|---|
INVALID_API_KEY | API key is invalid or expired |
RATE_LIMIT_EXCEEDED | Rate limit exceeded |
INVALID_REQUEST | Request parameters are invalid |
RESOURCE_NOT_FOUND | Requested resource not found |
PERMISSION_DENIED | Insufficient permissions |
INTERNAL_ERROR | Internal server error |
SDKs and Libraries
JavaScript/TypeScript
Python
R
Webhooks
Configure Webhook
Request Body
Webhook Events
Event | Description |
---|---|
analysis.completed | Analysis job completed |
analysis.failed | Analysis job failed |
data.uploaded | New data uploaded |
data.processed | Data processing completed |
visualization.created | New visualization created |
application.deployed | Application deployed |
Webhook Payload
Get Expert Help
Talk to a Geospatial Expert
Need help with your geospatial projects? Our team of experts is here to assist you with implementation, best practices, and technical support.
Other ways to get help:
- Guides: Use the /guides tab for detailed tutorials
- Community: Ask questions in our community forum
- Support: Send us a support request