Check and retry a personal table import through the Inbound API
Read the original import session, verify its result, and retry an eligible failure without starting a new import.
Use the import session to follow a CSV or Excel import into new personal tables. The response from POST /imports/personal-tables supplies data.importSession.importSessionId. Keep this ID with the import job. The status and retry endpoints use the same workspace and acting user that started the session.
Check the original session
Use the base URL from API Access and load the API key from your secret manager. Replace example-session-id with the ID returned when you prepared the import.
curl --silent --show-error --fail-with-body \
"${NIXA_API_BASE_URL}/imports/personal-tables/example-session-id" \
-H "X-API-Key: ${NIXA_API_KEY}"
Check data.status and use the same session when you check again.
| Status | What to check |
|---|---|
awaiting_review or awaiting_verification |
The import is waiting for its table change proposal to be reviewed or verified. Use data.proposalId to find the original proposal. |
queued or importing |
Check the same session again later. Keep polling intervals reasonable and follow any rate-limit delays. |
completed |
Check the imported count and the table IDs in data.result.tables when present. Open the tables and verify a known row. |
failed or cancelled |
Read data.errorSummary and data.failureDetails when available. Check for tables or rows the import already created. |
If the session returns 404, check the session ID, workspace, and the key’s acting user before assuming the session is gone. You can also review recent imports in Mainbase with the account that started the import.
Retry the existing import when eligible
After reviewing a failed or cancelled session, use its retry endpoint if the original import still needs to finish.
curl --silent --show-error --fail-with-body --include \
--request POST \
"${NIXA_API_BASE_URL}/imports/personal-tables/example-session-id/retry" \
-H "X-API-Key: ${NIXA_API_KEY}"
HTTP 202 with data.retryQueued: true acknowledges the retry. Read the original session again to verify the outcome. If the API returns 409, the session cannot be retried in its current state. Reload the session and verify what already exists before deciding whether to prepare another import.
Prepare a CSV import into a personal table with the Inbound API
Ask Mainbase AI
Ask about any feature in Mainbase. Find a setting, get step-by-step guidance, or troubleshoot a problem.
Open the AI assistantCopy a question to get started
- How do I create a Kanban view?
- How do I invite a teammate?
- Why is a record missing from this view?