Skip to main content
GET
/
api
/
v1
/
migrations
/
{id}
Get Migration
curl --request GET \
  --url https://worker.anon.com/api/v1/migrations/{id} \
  --header 'Authorization: Bearer <token>'
{
  "object": "migration",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created": "2023-11-07T05:31:56Z",
  "status": "NOT_READY",
  "created_by_user_id": "<string>",
  "company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

Authorization
string
header
required

Bearer token authentication

Path Parameters

id
string<uuid>
required

Migration ID

Response

Success

object
enum<string>
required
Available options:
migration
id
string<uuid>
required

Unique identifier for the migration

created
string<date-time>
required

Timestamp when the migration was created

status
enum<string>
required

Current status of the migration

Available options:
NOT_READY,
NOT_STARTED,
WORKING,
PENDING_USER_INPUT,
COMPLETE,
FAILED,
LOGIN_ABANDONED,
COMPLETED_WITH_FAILURES
created_by_user_id
string
required

Unique identifier for the user who created the migration

company_id
string<uuid> | null
required

Unique identifier for the company