Skip to content

API Overview ​

Welcome to the Uptinio API documentation. Use your Project API Token to access and manage your project resources.

Authentication ​

All API requests require a Project API Token from your Uptinio project. Include it in the Authorization header:

Authorization: Bearer YOUR_PROJECT_API_TOKEN

You can find or generate your token in the Uptinio dashboard under Settings > API Keys. Learn more about authentication.

Base URL ​

https://app.uptinio.com/api/v1

Available Endpoints ​

Monitoring ​

  • GET /api/v1/network_monitors - List all monitors
  • POST /api/v1/network_monitors - Create a new monitor
  • GET /api/v1/network_monitors/:uuid - Get monitor details
  • PUT /api/v1/network_monitors/:uuid - Update a monitor
  • DELETE /api/v1/network_monitors/:uuid - Delete a monitor
  • POST /api/v1/network_monitors/:uuid/pause - Pause a monitor
  • POST /api/v1/network_monitors/:uuid/resume - Resume a monitor

Incidents ​

  • GET /api/v1/incidents - List all incidents
  • GET /api/v1/incidents/:uuid - Get incident details
  • POST /api/v1/incidents/:uuid/resolve - Resolve an incident
  • POST /api/v1/incidents/:uuid/snooze - Snooze an incident
  • POST /api/v1/incidents/:uuid/unsnooze - Unsnooze an incident

Reports ​

  • GET /api/v1/reports - List all reports
  • GET /api/v1/reports/:uuid - Get report details
  • POST /api/v1/reports - Create a new report
  • PATCH /api/v1/reports/:uuid - Update a report
  • DELETE /api/v1/reports/:uuid - Delete a report

Servers ​

  • GET /api/v1/servers - List all servers (includes last_metrics only; pagination supported)
  • GET /api/v1/servers/:uuid - Get server details (includes last_metrics only)
  • GET /api/v1/servers/:uuid/metrics - Get server time-series metrics for a time range (since/until optional; defaults to last hour)
  • GET /api/v1/servers/:uuid/integrations - List integrations attached to a server
  • POST /api/v1/servers/:uuid/integrations - Attach an integration to a server (body: integration_id)
  • DELETE /api/v1/servers/:uuid/integrations/:id - Detach an integration from a server
  • DELETE /api/v1/servers/:uuid - Delete a server
  • GET /api/v1/servers/:uuid/update_chart - Get server chart data
  • GET /api/v1/server_agent/latest - Latest server-agent GitHub release (tag + download URLs)

Metrics ​

  • POST /api/v1/server_metrics - Submit server metrics

Credentials & commands ​

  • GET /api/v1/credentials - List credentials (no secrets)
  • POST /api/v1/credentials - Create credential
  • GET /api/v1/credentials/:uuid - Show credential (no secret)
  • PATCH /api/v1/credentials/:uuid - Update credential
  • DELETE /api/v1/credentials/:uuid - Soft-delete credential
  • POST /api/v1/credentials/:uuid/reveal - Reveal secret (humans only, rate-limited)
  • GET /api/v1/command_allowlist - Get project command allowlist
  • PATCH /api/v1/command_allowlist - Update allowlist / allow_all_commands
  • GET /api/v1/server_command_jobs/pending - Go agent: claim pending jobs
  • POST /api/v1/server_command_jobs/:uuid/result - Go agent: report job result
  • GET /api/v1/server_commands/pending - Alias of server_command_jobs/pending (Go agent)
  • POST /api/v1/server_commands/:uuid/result - Alias of server_command_jobs/:uuid/result (Go agent)

Integrations ​

  • GET /api/v1/integrations - List integrations
  • POST /api/v1/integrations - Create integration
  • DELETE /api/v1/integrations/:id - Delete integration
  • Server integrations: List/attach/detach via GET/POST/DELETE /api/v1/servers/:uuid/integrations

Assistant ​

  • GET /api/v1/assistant/conversations - List assistant conversations
  • POST /api/v1/assistant/conversations - Start a conversation
  • GET /api/v1/assistant/conversations/:uuid - Get conversation with messages
  • DELETE /api/v1/assistant/conversations/:uuid - Delete a conversation
  • POST /api/v1/assistant/conversations/:uuid/messages - Send a message and get an assistant reply
  • POST /api/v1/assistant/conversations/:uuid/resume - Resume after credential form or command approval

Dashboard ​

  • GET /api/v1/dashboard/statistics - Get dashboard statistics (uptime, monitor counts, response time)

Accounts ​

  • GET /api/v1/usage - Get usage statistics

Health ​

  • GET /api/v1/general-status - Get general system status

Rate Limits ​

  • 100 requests per minute for standard plans
  • 1000 requests per minute for enterprise plans

Response Format ​

All responses are in JSON format:

json
{
  "data": {
    // Response data
  },
  "meta": {
    "page": 1,
    "per_page": 20,
    "total": 100
  }
}

Error Handling ​

Errors are returned with appropriate HTTP status codes and a JSON response:

json
{
  "error": {
    "code": "invalid_request",
    "message": "Invalid request parameters"
  }
}

API Reference Documentation ​