Analytics

Get analytics refresh progress

Read the most recent workspace refresh state. Null means no refresh has been requested. collectionPaused is true while collection is suspended for service reliability; an existing queued or running job is not necessarily advancing. Complete means eligible collection finished, not that every provider returned every metric. errors counts unavailable readings; prior valid readings are preserved. MCP get_analytics includes this status in its response. Completion invalidates private saved reports immediately; measuredAt remains the metric collection timestamp.

get/v1/analytics/refresh

Request

  • Base URL: https://api.postlake.dev
  • URL: https://api.postlake.dev/v1/analytics/refresh
  • Auth: bearerAuth (a scheme the document does not define)

Response

Progress or null

jobIdstring
state'queued' | 'running' | 'complete' | 'failed'
collectionPausedboolean

True when collection is suspended; queued/running jobs may not advance.

startedAtstring date-time
updatedAtstring date-time
postsinteger
errorsinteger
cursorstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.