New JuneDevelopers
API reference

evaluations

A check of how a plan went in one of your rounds.

View .md
EndpointsScope plans:read
  • GET/v1/evaluationsList evaluations
  • GET/v1/evaluations/{id}Get an evaluation

After each round, New June evaluates every active plan against that round. Evaluations link a plan_id to a round_id.

The evaluation object

FieldTypeDescription
objectstringAlways "evaluation".
idstringUnique id of the evaluation.
plan_idstringThe plan that was evaluated.
round_idstring or nullThe round the evaluation looked at, when there was one.
report_idstring or nullThe report the evaluation used, when there was one.
statusstringHow far the plan got: open (not met yet), partial, or complete. The cancelled value appears only on older evaluations. One of: open, partial, complete, cancelled.
confidencestring or nullHow sure the evaluation is. Null when not given. One of: high, medium, low.
summarystring or nullWhy the evaluation reached its status.
notesstring or nullMore detail from the evaluation.
data_quality_notesstring or nullAnything about the round data that limited the evaluation.
evaluated_atstring (timestamp)When the evaluation was made.
created_atstring (timestamp)When the evaluation was saved.

Example evaluation:

{
  "object": "evaluation",
  "id": "bfedb770-42df-40b6-b523-812e260ec713",
  "plan_id": "245f4a1a-cbd7-4444-9d09-4752871cfeb6",
  "round_id": "498fe851-9796-4fcb-abbe-95e3a176e444",
  "report_id": "791a868a-8cfc-48db-8690-70421a68ee7c",
  "status": "partial",
  "confidence": "medium",
  "summary": "Two three-putts from long range, down from five last round.",
  "notes": "Pace control improved on the back nine.",
  "data_quality_notes": "Putts were not entered on holes 3 and 4.",
  "evaluated_at": "2026-06-14T20:03:40.000Z",
  "created_at": "2026-06-14T20:03:41.000Z"
}

Endpoints

Responses carry Request-Id, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset, and a 429 adds Retry-After. See Headers.

List evaluations

Evaluations of your plans, newest first: ordered by evaluated_at descending, then id descending. Evaluations of test rounds are not included. Needs a key with the plans:read scope.

GET/v1/evaluations
AuthorizationBearer <token>

A personal API key (nj_live_...), sent as a bearer token. Create one on the Developer page at https://newjune.co/golf/developer. The scopes listed on each operation are the key scopes it needs.

In: header

Scope: plans:read

Query Parameters

limit?integer

How many items to return, 1 to 100. Defaults to 25.

Default25
Range1 <= value <= 100
cursor?string

The next_cursor value from the previous page, passed back unchanged with the same filters.

plan_id?string

Only evaluations of this plan.

Formatuuid
round_id?string

Only evaluations of this round.

Formatuuid

Response Body

curl "https://data.newjune.co/v1/evaluations" \
  -H "Authorization: Bearer $NEW_JUNE_API_KEY"
{
  "object": "list",
  "data": [
    {
      "object": "evaluation",
      "id": "bfedb770-42df-40b6-b523-812e260ec713",
      "plan_id": "245f4a1a-cbd7-4444-9d09-4752871cfeb6",
      "round_id": "498fe851-9796-4fcb-abbe-95e3a176e444",
      "report_id": "791a868a-8cfc-48db-8690-70421a68ee7c",
      "status": "partial",
      "confidence": "medium",
      "summary": "Two three-putts from long range, down from five last round.",
      "notes": "Pace control improved on the back nine.",
      "data_quality_notes": "Putts were not entered on holes 3 and 4.",
      "evaluated_at": "2026-06-14T20:03:40.000Z",
      "created_at": "2026-06-14T20:03:41.000Z"
    }
  ],
  "has_more": true,
  "next_cursor": "eyJ2IjoxLCJrIjpbIjIwMjYtMDYtMTRUMjA6MDM6NDAuMDAwMDAwWiIsImJmZWRiNzcwLTQyZGYtNDBiNi1iNTIzLTgxMmUyNjBlYzcxMyJdfQ"
}

{
  "error": {
    "type": "invalid_request_error",
    "code": "invalid_cursor",
    "message": "The cursor is not valid. Use the next_cursor value from a previous response.",
    "param": "cursor",
    "request_id": "req_5f0c6e2a9b1d4c7e8f3a2b10",
    "doc_url": "https://developers.newjune.co/errors#invalid_cursor"
  }
}

{
  "error": {
    "type": "authentication_error",
    "code": "api_key_expired",
    "message": "This API key has expired. Create a new key on the Developer page at newjune.co/golf/developer.",
    "param": null,
    "request_id": "req_5f0c6e2a9b1d4c7e8f3a2b10",
    "doc_url": "https://developers.newjune.co/errors#api_key_expired"
  }
}

{
  "error": {
    "type": "permission_error",
    "code": "account_suspended",
    "message": "API access is suspended for this account.",
    "param": null,
    "request_id": "req_5f0c6e2a9b1d4c7e8f3a2b10",
    "doc_url": "https://developers.newjune.co/errors#account_suspended"
  }
}

{
  "error": {
    "type": "rate_limit_error",
    "code": "daily_limit_exceeded",
    "message": "This account has reached its daily request limit. It resets at midnight UTC.",
    "param": null,
    "request_id": "req_5f0c6e2a9b1d4c7e8f3a2b10",
    "doc_url": "https://developers.newjune.co/errors#daily_limit_exceeded"
  }
}

{
  "error": {
    "type": "api_error",
    "code": "internal_error",
    "message": "Something went wrong on our side. Try again later.",
    "param": null,
    "request_id": "req_5f0c6e2a9b1d4c7e8f3a2b10",
    "doc_url": "https://developers.newjune.co/errors#internal_error"
  }
}

{
  "error": {
    "type": "api_error",
    "code": "service_unavailable",
    "message": "The API is temporarily unavailable. Try again later.",
    "param": null,
    "request_id": "req_5f0c6e2a9b1d4c7e8f3a2b10",
    "doc_url": "https://developers.newjune.co/errors#service_unavailable"
  }
}

Get an evaluation

One evaluation by id. Needs a key with the plans:read scope.

GET/v1/evaluations/{id}
AuthorizationBearer <token>

A personal API key (nj_live_...), sent as a bearer token. Create one on the Developer page at https://newjune.co/golf/developer. The scopes listed on each operation are the key scopes it needs.

In: header

Scope: plans:read

Path Parameters

idstring

The evaluation's id.

Response Body

curl "https://data.newjune.co/v1/evaluations/bfedb770-42df-40b6-b523-812e260ec713" \
  -H "Authorization: Bearer $NEW_JUNE_API_KEY"
{
  "object": "evaluation",
  "id": "bfedb770-42df-40b6-b523-812e260ec713",
  "plan_id": "245f4a1a-cbd7-4444-9d09-4752871cfeb6",
  "round_id": "498fe851-9796-4fcb-abbe-95e3a176e444",
  "report_id": "791a868a-8cfc-48db-8690-70421a68ee7c",
  "status": "partial",
  "confidence": "medium",
  "summary": "Two three-putts from long range, down from five last round.",
  "notes": "Pace control improved on the back nine.",
  "data_quality_notes": "Putts were not entered on holes 3 and 4.",
  "evaluated_at": "2026-06-14T20:03:40.000Z",
  "created_at": "2026-06-14T20:03:41.000Z"
}

{
  "error": {
    "type": "authentication_error",
    "code": "api_key_expired",
    "message": "This API key has expired. Create a new key on the Developer page at newjune.co/golf/developer.",
    "param": null,
    "request_id": "req_5f0c6e2a9b1d4c7e8f3a2b10",
    "doc_url": "https://developers.newjune.co/errors#api_key_expired"
  }
}

{
  "error": {
    "type": "permission_error",
    "code": "account_suspended",
    "message": "API access is suspended for this account.",
    "param": null,
    "request_id": "req_5f0c6e2a9b1d4c7e8f3a2b10",
    "doc_url": "https://developers.newjune.co/errors#account_suspended"
  }
}

{
  "error": {
    "type": "not_found_error",
    "code": "resource_not_found",
    "message": "No such evaluation.",
    "param": null,
    "request_id": "req_5f0c6e2a9b1d4c7e8f3a2b10",
    "doc_url": "https://developers.newjune.co/errors#resource_not_found"
  }
}

{
  "error": {
    "type": "rate_limit_error",
    "code": "daily_limit_exceeded",
    "message": "This account has reached its daily request limit. It resets at midnight UTC.",
    "param": null,
    "request_id": "req_5f0c6e2a9b1d4c7e8f3a2b10",
    "doc_url": "https://developers.newjune.co/errors#daily_limit_exceeded"
  }
}

{
  "error": {
    "type": "api_error",
    "code": "internal_error",
    "message": "Something went wrong on our side. Try again later.",
    "param": null,
    "request_id": "req_5f0c6e2a9b1d4c7e8f3a2b10",
    "doc_url": "https://developers.newjune.co/errors#internal_error"
  }
}

{
  "error": {
    "type": "api_error",
    "code": "service_unavailable",
    "message": "The API is temporarily unavailable. Try again later.",
    "param": null,
    "request_id": "req_5f0c6e2a9b1d4c7e8f3a2b10",
    "doc_url": "https://developers.newjune.co/errors#service_unavailable"
  }
}