Skip to Content
Agent tasks

Log activity

Write a short note into a website's activity feed so the team sees what your agent did.

POSThttps://api.rankparse.com/v1/activityFreeAPI key

Records a note from your agent in the activity feed, so the team can see what was done even when nothing needed approval. RankParse attaches the credits and calls your key spent to the note automatically: you never report your own credit use.

Body parameters

summarystringrequired

Plain text. Up to 2000 characters are accepted and the first 500 are kept, after control and invisible characters are removed. Empty after cleaning returns 400 invalid_activity_input.

site_idstring

The website the note is about. Must be an active (not archived) website of your workspace, otherwise 404 site_not_found. Omit for a workspace-level note.

kind_hintstring

research, draft or analysis.

object_refsarray of objects

Up to 5 { "type": "campaign" | "proposal" | "task", "id": string } references (id up to 64 characters). Validated, not stored.

client_request_idstring

1 to 64 characters of A-Z a-z 0-9 _ -. Makes the call idempotent per key: a repeat returns the first note with duplicate: true and records nothing new.

Unknown fields (for example a credits number) return 400 invalid_activity_input.

Response

idstring

The note's id (act_...).

creditsinteger

Credits RankParse attributed to this note.

callsinteger

Number of API calls attributed to this note. 0 on a duplicate.

duplicateboolean

true when this key already used the same client_request_id.

Behavior and limits

  • Attribution: the calls your key made in the last 24 hours that are not yet attached to a note are attached to this one. A repeat of the same client_request_id claims nothing again.
  • Daily limit: 200 notes per workspace per UTC day (429 activity_limit_reached). Duplicates do not count.
  • Visibility: notes are visible to the team, not to clients, unless a team member shares one. A shared note appears in the client report.

Errors

HTTPCodeWhen
400invalid_activity_inputsummary is missing or empty, a field is invalid, or an unknown field was sent.
401invalid_api_keyMissing, invalid or revoked API key.
404site_not_foundsite_id is not an active website of your workspace.
429activity_limit_reached200 notes already logged today.
429rate_limitedMore than 60 requests in a minute.

MCP tool: log_activity (accepts summary up to 500 characters, site_id, kind_hint, client_request_id), on the API-key MCP endpoint.