Skip to content
Get Progress

Get Progress

GetProgress returns aggregate enrichment counters for a project. Poll it after Submit when you are not using a completion webhook, or use it alongside one to inspect intermediate state.

Endpoint

POST https://api.dangofish.com/api.v1.Service/GetProgress
Authorization: Bearer dk_org_...
Content-Type: application/json

Request

{ "projectId": "aB3xK9" }

Response

{
  "status": "enriching",
  "totalLines": 100,
  "enriched": 42,
  "inProgress": 8,
  "failed": 0,
  "submittedAt": "2026-07-09T10:15:00Z",
  "completedAt": ""
}

status is one of pending, enriching, or completed. It turns completed once every line has resolved, whether or not some of them ended up in the failed counter. The submittedAt and completedAt fields are RFC3339 timestamps, empty when not yet set.

Examples

curl -X POST https://api.dangofish.com/api.v1.Service/GetProgress \
  -H "Authorization: Bearer $DANGO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"projectId": "aB3xK9"}'

Errors

  • Unauthenticated: missing or invalid API key.
  • PermissionDenied: the project belongs to another organization.