<@U04S8PLJWMT> Provide a <sample output of the API...
# ask-ai
a
@kapa.ai Provide a sample output of the API request to list existing sources. I'm specifically interested in the format that the source type appears in this response.
k
To answer your question, I'll provide a sample output of the API request to list existing sources, focusing on how the source type appears in the response. This information can be found in the Airbyte API documentation. Here's a sample output based on the [Airbyte Public API - Sources](https://reference.airbyte.com/reference/start) documentation:
Copy code
json {   "next": "<https://api.airbyte.com/v1/sources?limit=5&offset=10>",   "previous": "<https://api.airbyte.com/v1/sources?limit=5&offset=0>",   "data": [     {       "sourceId": "18dccc91-0ab1-4f72-9ed7-0b8fc27c5826",       "name": "Analytics Team Postgres",       "sourceType": "postgres",       "workspaceId": "871d9b60-11d1-44cb-8c92-c246d53bf87e"     }   ] }
In this sample response, you can see that the source type appears in the
sourceType
field within each source object in the
data
array. In this example, the
sourceType
is "postgres". The
sourceType
is represented as a simple string value that indicates the type of the source. It's not nested within any other object and is a direct property of the source object, alongside other properties like
sourceId
,
name
, and
workspaceId
.