Activate an owned evaluation for project members and opted-in guest or AI reviewers
POST /api/v1/public/evaluations/{evaluationId}/activate
POST /api/v1/public/evaluations/{evaluationId}/activateSet includeAiReviewers to activate retained AI assignments, including Auto Review with an empty reviewerUserIds list. AI forms materialize before the first batch snapshot. Optional reminderConfig selects none, every-day, halfway, one-day-before or custom (1-168 intervalHours and a local time, using creator profile timezone then project timezone then UTC). Optional notifications selects unique email/slack channels for member lifecycle notifications; [] disables those external channels while in-app notifications remain. Set sendGuestInvitations=true with includeGuestReviewers=true to durably queue guest invitations for the initial review window and future dispatched batches. guestInvitationCount counts queued records; guestInvitationsEnabled confirms future batch delivery is enabled. Read guest-invitations for provider acceptance; queued is not email delivery. Guest reminders follow the existing separate guest rules. Omitted settings preserve stored values. Active confirms lifecycle and settings persistence, not provider acceptance or delivery; asynchronous execution and reminders use the existing app dispatcher and workers. Code evaluators retain capability and Auto Review-only restrictions.
Operation ID: post_api_v1_public_evaluations_evaluationId_activate.
Authentication
Choose a credential. Each row is an accepted alternative; access also depends on current roles, project bindings, and entitlements.
| Credential | Carrier | OAuth scopes |
|---|---|---|
OAuth2 | Authorization: Bearer | evaluation:write |
For OAuth and service-account credentials, send the selected project UUID in x-project-id, including when the header is optional for legacy keys.
Availability
This operation requires the public-api-mutations capability to be enabled for the deployment. Its presence in the contract does not guarantee availability. See operation availability.
Request parameters
| Name | Location | Required | Type / allowed values | Description / constraints |
|---|---|---|---|---|
evaluationId | path | Yes | string | evaluationId path parameter; format: uuid; Pattern constrained; see the downloadable schema. |
idempotency-key | header | Yes | string | idempotency-key header parameter; Required canonical UUIDv4 or high-entropy base64url idempotency key; minLength: 22; maxLength: 43; Pattern constrained; see the downloadable schema. |
x-project-id | header | Yes | string | x-project-id header parameter; format: uuid; Pattern constrained; see the downloadable schema. |
Request body
Body required: yes.
application/json
| Field | Type / allowed values | Required in parent | Description / constraints |
|---|---|---|---|
$ | object | Yes | additionalProperties: false |
includeAiReviewers | boolean | No | — |
includeGuestReviewers | boolean | No | — |
sendGuestInvitations | boolean | No | — |
maxAssignments | integer | No | default: 10000; minimum: 1; maximum: 10000 |
maxItems | integer | No | default: 1000; minimum: 1; maximum: 1000 |
notifications | array<"slack" | "email"> | No | maxItems: 2 |
notifications[] | "slack" | "email" | Yes | — |
reminderConfig | object | object | No | — |
reminderConfig (oneOf 1) | object | Yes | additionalProperties: false |
reminderConfig (oneOf 1).frequency | "custom" | Yes | — |
reminderConfig (oneOf 1).intervalHours | integer | Yes | minimum: 1; maximum: 168 |
reminderConfig (oneOf 1).time | string | Yes | Pattern constrained; see the downloadable schema. |
reminderConfig (oneOf 2) | object | Yes | additionalProperties: false |
reminderConfig (oneOf 2).frequency | "none" | "every-day" | "halfway" | "one-day-before" | Yes | — |
reviewerUserIds | array<string> | Yes | maxItems: 100 |
reviewerUserIds[] | string | Yes | format: uuid; Pattern constrained; see the downloadable schema. |
reviewDuration | string | string | string | Yes | — |
reviewDuration (anyOf 1) | string | Yes | Pattern constrained; see the downloadable schema. |
reviewDuration (anyOf 2) | string | Yes | Pattern constrained; see the downloadable schema. |
reviewDuration (anyOf 3) | string | Yes | Pattern constrained; see the downloadable schema. |
Request example
Replace placeholder IDs and environment variables with values from your authorized project. Credentials are expanded into curl's stdin configuration, not its command arguments. Keep shell tracing off and do not log this configuration. For requests with a body, put a payload matching the schema in request-body.txt; form requests use URL-encoded content.
curl --fail-with-body --silent --show-error --config - <<CURL_CONFIG
request = "POST"
header = "Authorization: Bearer ${NEATLOGS_TOKEN}"
header = "idempotency-key: ${IDEMPOTENCY_KEY}"
header = "x-project-id: ${NEATLOGS_PROJECT_ID}"
header = "Content-Type: application/json"
data-binary = "@request-body.txt"
url = "https://app.neatlogs.com/api/v1/public/evaluations/<evaluationId>/activate"
CURL_CONFIGResponses
| Status | Description | Content type |
|---|---|---|
200 | Evaluation activated for selected members and explicitly included retained guest/AI reviewers | application/json |
400 | Invalid public API request | application/problem+json |
401 | Missing or invalid public API credential | application/problem+json |
403 | Public API request is not authorized | application/problem+json |
404 | Evaluation not found | application/problem+json |
409 | Evaluation activation conflict or acknowledged bounds exceeded | application/problem+json |
413 | Public API request body too large | application/problem+json |
415 | Unsupported public API request body | application/problem+json |
429 | Public API rate limit exceeded | application/problem+json |
500 | Internal server error | application/problem+json |
503 | Public API credential, project context, or rate limiting unavailable. Backend is draining; retry after the Retry-After delay. | application/problem+json, application/json |
200 response fields
Content type: application/json.
| Field | Type / allowed values | Required in parent | Description / constraints |
|---|---|---|---|
$ | object | Yes | additionalProperties: false |
data | object | Yes | additionalProperties: false |
data.assignedItemCount | integer | Yes | minimum: 0; maximum: 1000 |
data.evaluationId | string | Yes | format: uuid; Pattern constrained; see the downloadable schema. |
data.guestInvitationCount | integer | No | minimum: 0; maximum: 100 |
data.guestInvitationsEnabled | boolean | No | — |
data.firstBatch | object | null | Yes | — |
data.firstBatch (anyOf 1) | object | Yes | additionalProperties: false |
data.firstBatch (anyOf 1).id | string | Yes | format: uuid; Pattern constrained; see the downloadable schema. |
data.firstBatch (anyOf 1).itemCount | integer | Yes | minimum: 0; maximum: 1000 |
data.firstBatch (anyOf 1).reviewDeadline | string | null | Yes | — |
data.firstBatch (anyOf 1).reviewDeadline (anyOf 1) | string | Yes | format: date-time; Pattern constrained; see the downloadable schema. |
data.firstBatch (anyOf 1).sentAt | string | Yes | format: date-time; Pattern constrained; see the downloadable schema. |
data.nextBatchAt | string | null | Yes | — |
data.nextBatchAt (anyOf 1) | string | Yes | format: date-time; Pattern constrained; see the downloadable schema. |
data.reviewerCount | integer | Yes | minimum: 1; maximum: 100 |
data.reviewDeadline | string | null | Yes | — |
data.reviewDeadline (anyOf 1) | string | Yes | format: date-time; Pattern constrained; see the downloadable schema. |
data.reviewDuration | string | string | string | Yes | — |
data.reviewDuration (anyOf 1) | string | Yes | Pattern constrained; see the downloadable schema. |
data.reviewDuration (anyOf 2) | string | Yes | Pattern constrained; see the downloadable schema. |
data.reviewDuration (anyOf 3) | string | Yes | Pattern constrained; see the downloadable schema. |
data.startsAt | string | null | Yes | — |
data.startsAt (anyOf 1) | string | Yes | format: date-time; Pattern constrained; see the downloadable schema. |
data.status | "active" | Yes | — |
data.traceSource | "existing" | "future" | Yes | — |
requestId | string | Yes | Pattern constrained; see the downloadable schema. |
success | true | Yes | — |
Response headers
| Header | Description / constraints |
|---|---|
RateLimit-Limit | Effective request ceiling for the current window; minimum: 1 |
RateLimit-Remaining | Requests remaining in the current window; minimum: 0 |
RateLimit-Reset | Unix timestamp in seconds when the current window resets; minimum: 0 |
X-NeatLogs-RateLimit-Degraded | Whether bounded emergency enforcement is active; — |
X-NeatLogs-RateLimit-Limit | Effective request ceiling for the current window; minimum: 1 |
X-NeatLogs-RateLimit-Policy | Applied pre-authentication or authenticated rate class; — |
X-NeatLogs-RateLimit-Remaining | Requests remaining in the current window; minimum: 0 |
X-NeatLogs-RateLimit-Reset-After | Whole seconds until the current window resets; minimum: 1 |
X-NeatLogs-RateLimit-Version | NeatLogs rate-limit contract version; — |
X-Request-Id | Server-owned request correlation identifier; Pattern constrained; see the downloadable schema. |
Failures use Problem Details. For exact validation patterns and all response schemas, download the OpenAPI specification.
