---
title: "GET /external-services/{id}/data-imports/availability"
method: GET
path: "/external-services/{id}/data-imports/availability"
tags: ["External Services"]
---

# GET /external-services/{id}/data-imports/availability

`GET /external-services/{id}/data-imports/availability`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/external-services/{id}/data-imports/availability`
- Auth: HTTP bearer

## Path parameters

- `id` integer, required

## Response `200`

Whether the service can receive imported data

- DataImportAvailabilityResponse: Whether a service can receive imported data. A service that cannot is still described, with the reason, so the console can explain instead of hiding the feature.
  - `available` boolean, required: An import could start right now.
  - `default_timeout_minutes` integer, required
  - `max_timeout_minutes` integer, required
  - `reason` string, nullable: Why `supported` or `available` is false.
  - `service_id` integer, required
  - `service_type` string, required
  - `spec` DataImportSpec, nullable: What an engine accepts and how its imports behave. Returned to the console so the import form can explain itself before the user types anything.
    - `allowed_source_options` string[], required: Query-string options the source connection string may carry. Anything else is refused, because some options redirect the client elsewhere or read local files.
    - `atomic` boolean, required: Whether a failed or interrupted import leaves no imported data behind. When false, a failure can leave the target partially written.
    - `engine_label` string, required: Human name of the engine, e.g. "PostgreSQL".
    - `max_target_length` integer, required: Longest target database name the engine accepts.
    - `object_noun` string, required: What the engine stores data in, singular ("table", "collection").
    - `source_schemes` string[], required: URL schemes the source connection string may use.
    - `source_url_example` string, required: A complete example of a source connection string.
  - `supported` boolean, required: The service's engine supports importing data.

## Other responses

- `401`: Unauthorized
- `403`: Insufficient permissions
- `404`: Service not found
- `500`: Internal server error

## Changes

- **2026-11-09** `12896146b193`: 4 breaking
  - removed the required property `extensions` from the response with the `401` status
  - removed the required property `extensions` from the response with the `403` status
  - removed the required property `extensions` from the response with the `404` status
  - removed the required property `extensions` from the response with the `500` status
- **2026-10-08** `60e75ea854a4`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/external-services/:id/data-imports/availability/get.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
