/v1/issuer/data_source_mappings
API Key
Paginated
List data source mappings
List all data source mappings. Filter by data source or credential schema to find specific mappings.
Use this to see which data sources are connected to which credential schemas.
Parameters
| Name | Location | Type | Description |
|---|---|---|---|
data_source
|
query | string | Filter by data source slug or ID |
credential_schema
|
query | string | Filter by credential schema slug or ID |
page
|
query | integer | Page number for pagination |
per_page
|
query | integer | Items per page (default: 25, max: 100) |
X-API-Key
*
|
header | string | Issuer API key for authentication |
* Required parameter
Response
Content-Type: application/json
success
boolean
data
array[object]
Array items:
A mapping between a data source and credential schema
slug
*
string
URL-friendly identifier
Example: employee-database-employee-badge
name
string
nullable
Optional custom name for the mapping
Example: Employee Badge Mapping
display_name
*
string
Display name (custom name or auto-generated)
Example: Employee Database → Employee Badge
data_source
*
object
The linked data source
slug
string
Example: employee-database
name
string
Example: Employee Database
source_type
string
Allowed values: "postgresql", "csv"
Example: postgresql
credential_schema
*
object
The linked credential schema
uuid
string (uuid)
Example: 60476b28-5bfc-4cd5-a65a-9ac898a7223c
slug
string
Example: employee-badge
name
string
Example: Employee Badge
field_mapping
object
nullable
Maps data source columns to credential claims (full view only)
Example: {"name":"full_name","email":"email_address"}
query_config
object
nullable
Query configuration for data extraction (full view only)
Example: {"table":"employees","columns":["full_name","email_address"]}
automation_count
*
integer
Number of automations using this mapping
created_at
*
string (date-time)
When the mapping was created
updated_at
*
string (date-time)
When the mapping was last updated
meta
object
current_page
integer
per_page
integer
total_count
integer
total_pages
integer
Code Examples
import os
from aho_sdk import AhoSdk
client = AhoSdk.issuer(api_key=os.environ["AHO_API_KEY"])
result = client.data_source_mappings.list
client = AhoSdk.issuer(api_key: ENV["AHO_API_KEY"])
result = client.data_source_mappings.list
import { AhoSdk } from '@aho/sdk';
const client = AhoSdk.issuer({ apiKey: process.env.AHO_API_KEY });
const result = await client.data_source_mappings.list;
curl -X GET 'https://api.aho.com/v1/issuer/data_source_mappings' \
-H 'X-API-Key: $AHO_API_KEY'
Try It
Log in to test this endpoint directly from the documentation.
Log in