Branch
Retrieve anonymized branch status
Retrieves the current status of an anonymized branch, including its state and progress information. This endpoint allows you to monitor the anonymization process from initialization through completion. Only anonymized branches will have status information available.
Note: This endpoint is currently in Beta.
get/projects/{project_id}/branches/{branch_id}/anonymized_status
Request
- Base URLhttps://console.neon.tech/api/v2
- Auth
- HTTP bearer
- or API key in cookie zenith
- or API key in cookie keycloak_token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Anonymized branch status retrieved successfully
Example response
{
"branch_id": "br-aged-salad-637688",
"project_id": "simple-truth-637688",
"state": "anonymizing",
"status_message": "Anonymizing table mydb.public.users (3/5)",
"created_at": "2022-11-30T18:25:15Z",
"updated_at": "2022-11-30T18:30:22Z",
"last_run": {
"started_at": "2022-11-30T18:25:15Z",
"completed_at": "2022-11-30T18:30:22Z",
"triggered_by": "df6c5f70-6cbf-4c8c-9e7a-74c3ddbd8f9f",
"masked_columns": 12
}
}Changes
No recorded changes to this operation across all 1 revision of this API.