This connector is optimized for AI agents. For the data replication connector, see Freshdesk .
This is the full reference documentation for the Freshdesk agent connector.
Supported entities and actions
The Freshdesk connector supports the following entities and actions.
Entity Actions Tickets List , Get , Context Store Search , Semantic Search Contacts List , Get , Context Store Search , Semantic Search Agents List , Get , Context Store Search Groups List , Get , Context Store Search Companies List , Get , Context Store Search , Semantic Search Roles List , Get , Context Store Search Satisfaction Ratings List , Context Store Search , Semantic Search Surveys List , Context Store Search Time Entries List , Context Store Search , Semantic Search Ticket Fields List , Context Store Search
Tickets
Tickets List
Returns a paginated list of tickets. By default returns tickets created in the past 30 days. Use updated_since to get older tickets.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "freshdesk",
"entity": "tickets",
"action": "list"
}'
Python SDK
await freshdesk . tickets . list ( )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "tickets",
"action": "list"
}'
Parameters
Parameter Name Type Required Description per_pageintegerNo Number of items per page (max 100) pageintegerNo Page number (starts at 1) updated_sincestringNo Return tickets updated since this timestamp (ISO 8601) order_by"created_at" | "due_by" | "updated_at" | "status"No Sort field order_type"asc" | "desc"No Sort order
Response Schema Records Field Name Type Description idintegersubjectnull | stringdescriptionnull | stringdescription_textnull | stringstatusnull | integerprioritynull | integersourcenull | integertypenull | stringrequester_idnull | integerresponder_idnull | integercompany_idnull | integergroup_idnull | integerproduct_idnull | integeremail_config_idnull | integercc_emailsnull | arrayfwd_emailsnull | arrayreply_cc_emailsnull | arrayto_emailsnull | arrayspamnull | booleandeletednull | booleanfr_escalatednull | booleanis_escalatednull | booleanfr_due_bynull | stringdue_bynull | stringtagsnull | arraycustom_fieldsnull | objectattachmentsnull | arraycreated_atnull | stringupdated_atnull | stringassociation_typenull | integerassociated_tickets_countnull | integerticket_cc_emailsnull | arrayticket_bcc_emailsnull | arraysupport_emailnull | stringsource_additional_infonull | objectstructured_descriptionnull | objectform_idnull | integernr_due_bynull | stringnr_escalatednull | boolean
Field Name Type Description nextstring
Tickets Get
Get a single ticket by ID
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "freshdesk",
"entity": "tickets",
"action": "get",
"params": {
"id": 0
}
}'
Python SDK
await freshdesk . tickets . get (
id = 0
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "tickets",
"action": "get",
"params": {
"id": 0
}
}'
Parameters
Parameter Name Type Required Description idintegerYes Ticket ID
Response Schema Records Field Name Type Description idintegersubjectnull | stringdescriptionnull | stringdescription_textnull | stringstatusnull | integerprioritynull | integersourcenull | integertypenull | stringrequester_idnull | integerresponder_idnull | integercompany_idnull | integergroup_idnull | integerproduct_idnull | integeremail_config_idnull | integercc_emailsnull | arrayfwd_emailsnull | arrayreply_cc_emailsnull | arrayto_emailsnull | arrayspamnull | booleandeletednull | booleanfr_escalatednull | booleanis_escalatednull | booleanfr_due_bynull | stringdue_bynull | stringtagsnull | arraycustom_fieldsnull | objectattachmentsnull | arraycreated_atnull | stringupdated_atnull | stringassociation_typenull | integerassociated_tickets_countnull | integerticket_cc_emailsnull | arrayticket_bcc_emailsnull | arraysupport_emailnull | stringsource_additional_infonull | objectstructured_descriptionnull | objectform_idnull | integernr_due_bynull | stringnr_escalatednull | boolean
Tickets Context Store Search
Search and filter tickets records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "freshdesk",
"entity": "tickets",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"id": 0
}
}
}
}
}'
Python SDK
await freshdesk . tickets . context_store_search (
query = { "filter" : { "eq" : { "id" : 0 } } }
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "tickets",
"action": "context_store_search",
"params": {
"query": {"filter": {"eq": {"id": 0}}}
}
}'
Parameters
Parameter Name Type Required Description queryobjectYes Filter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, startswith, endswith, contains, fuzzy, keyword, not, and, or query.filterobjectNo Filter conditions query.sortarrayNo Sort conditions limitintegerNo Maximum results to return (default 1000) cursorstringNo Pagination cursor from previous response's meta.cursor fieldsarrayNo Field paths to include in results
Searchable Fields
Field Name Type Description idintegerUnique ticket ID subjectstringSubject of the ticket descriptionstringHTML content of the ticket description_textstringPlain text content of the ticket statusintegerStatus: 2=Open, 3=Pending, 4=Resolved, 5=Closed priorityintegerPriority: 1=Low, 2=Medium, 3=High, 4=Urgent sourceintegerSource: 1=Email, 2=Portal, 3=Phone, 7=Chat, 9=Feedback Widget, 10=Outbound Email typestringTicket type requester_idintegerID of the requester requesterobjectRequester details including name, email, and contact info responder_idintegerID of the agent to whom the ticket is assigned group_idintegerID of the group to which the ticket is assigned company_idintegerCompany ID of the requester product_idintegerID of the product associated with the ticket email_config_idintegerID of the email config used for the ticket cc_emailsarrayCC email addresses ticket_cc_emailsarrayTicket CC email addresses to_emailsarrayTo email addresses fwd_emailsarrayForwarded email addresses reply_cc_emailsarrayReply CC email addresses tagsarrayTags associated with the ticket custom_fieldsobjectCustom fields associated with the ticket due_bystringResolution due by timestamp fr_due_bystringFirst response due by timestamp fr_escalatedbooleanWhether the first response time was breached is_escalatedbooleanWhether the ticket is escalated nr_due_bystringNext response due by timestamp nr_escalatedbooleanWhether the next response time was breached spambooleanWhether the ticket is marked as spam association_typeintegerAssociation type for parent/child tickets associated_tickets_countintegerNumber of associated tickets statsobjectTicket statistics including response and resolution times created_atstringTicket creation timestamp updated_atstringTicket last update timestamp
Response Schema Field Name Type Description dataarrayList of matching records metaobjectPagination metadata meta.has_morebooleanWhether additional pages are available meta.cursorstring | nullCursor for next page of results meta.took_msnumber | nullQuery execution time in milliseconds data[].idintegerUnique ticket ID data[].subjectstringSubject of the ticket data[].descriptionstringHTML content of the ticket data[].description_textstringPlain text content of the ticket data[].statusintegerStatus: 2=Open, 3=Pending, 4=Resolved, 5=Closed data[].priorityintegerPriority: 1=Low, 2=Medium, 3=High, 4=Urgent data[].sourceintegerSource: 1=Email, 2=Portal, 3=Phone, 7=Chat, 9=Feedback Widget, 10=Outbound Email data[].typestringTicket type data[].requester_idintegerID of the requester data[].requesterobjectRequester details including name, email, and contact info data[].responder_idintegerID of the agent to whom the ticket is assigned data[].group_idintegerID of the group to which the ticket is assigned data[].company_idintegerCompany ID of the requester data[].product_idintegerID of the product associated with the ticket data[].email_config_idintegerID of the email config used for the ticket data[].cc_emailsarrayCC email addresses data[].ticket_cc_emailsarrayTicket CC email addresses data[].to_emailsarrayTo email addresses data[].fwd_emailsarrayForwarded email addresses data[].reply_cc_emailsarrayReply CC email addresses data[].tagsarrayTags associated with the ticket data[].custom_fieldsobjectCustom fields associated with the ticket data[].due_bystringResolution due by timestamp data[].fr_due_bystringFirst response due by timestamp data[].fr_escalatedbooleanWhether the first response time was breached data[].is_escalatedbooleanWhether the ticket is escalated data[].nr_due_bystringNext response due by timestamp data[].nr_escalatedbooleanWhether the next response time was breached data[].spambooleanWhether the ticket is marked as spam data[].association_typeintegerAssociation type for parent/child tickets data[].associated_tickets_countintegerNumber of associated tickets data[].statsobjectTicket statistics including response and resolution times data[].created_atstringTicket creation timestamp data[].updated_atstringTicket last update timestamp
Tickets Semantic Search
Search tickets records by meaning rather than by exact or fuzzy field values. Semantic search embeds a natural-language prompt and returns the most similar passages, ranked by relevance. Pass semantic={field, prompt, filter?, context_size?, min_similarity?, dedup?} to context_store_search instead of query. Only available in hosted mode.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "freshdesk",
"entity": "tickets",
"action": "context_store_search",
"params": {
"semantic": {"field": "description_text", "prompt": "<your natural-language query>"}
}
}'
Python SDK
Semantic search is passed through the generic execute method — the typed tickets.context_store_search helper only accepts query.
await freshdesk . execute (
"tickets" ,
"context_store_search" ,
{ "semantic" : { "field" : "description_text" , "prompt" : "<your natural-language query>" } } ,
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "tickets",
"action": "context_store_search",
"params": {
"semantic": {"field": "description_text", "prompt": "<your natural-language query>"}
}
}'
Semantic Parameters
Parameter Name Type Required Description semantic.fieldstringYes Field to search semantically. Mutually exclusive with query. semantic.promptstringYes Natural-language query that is embedded and compared against stored passages. semantic.filterobjectNo Filter conditions (same shape/operators as query.filter). sort is not supported — results are ranked by similarity. semantic.context_sizeintegerNo Characters of surrounding context to return per hit, up to the field's configured window. Omit to return the full configured window. semantic.min_similaritynumberNo Minimum similarity score in [-1.0, 1.0]. Omit for 0.25; scores below the threshold are discarded before deduplication and top-k selection. Use -1.0 to disable the cutoff. semantic.dedupstringNo max (default) returns the single best-scoring passage per record; none returns multiple passages per record, still ranked by similarity and capped by limit.fieldsarrayNo Field paths to include in results (dot notation for nested fields). Applied to each hit's entity. limitintegerNo Maximum results to return (default 10, maximum 100).
Semantically Searchable Fields
Field Name Max Context (chars) Description description_text2048 Plain text content of the ticket
Each result is also enriched with the following related fields (returned only; not filterable): requesterName, requesterEmail.
Response Schema Field Name Type Description dataarrayList of matching passages data[].entityobjectThe matched source record data[].entity.idstringSource record field data[].entity.updated_atstringSource record field data[].entity.subjectstringSource record field data[].entity.statusstringSource record field data[].entity.prioritystringSource record field data[].entity.typestringSource record field data[].entity.created_atstringSource record field data[].entity.requester_idstringSource record field data[].entity.responder_idstringSource record field data[].entity.group_idstringSource record field data[].metadataobjectMatch metadata data[].metadata.scorenumberSimilarity score data[].metadata.contextstringThe matched passage text data[].metadata.requesterNamestringEnriched from a related entity at read time (returned only; not filterable) data[].metadata.requesterEmailstringEnriched from a related entity at read time (returned only; not filterable) metaobjectPagination metadata meta.has_morebooleanWhether additional pages are available meta.cursorstring | nullCursor for next page of results meta.took_msnumber | nullQuery execution time in milliseconds
Returns a paginated list of contacts
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "freshdesk",
"entity": "contacts",
"action": "list"
}'
Python SDK
await freshdesk . contacts . list ( )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "contacts",
"action": "list"
}'
Parameters
Parameter Name Type Required Description per_pageintegerNo Number of items per page (max 100) pageintegerNo Page number (starts at 1) updated_sincestringNo Return contacts updated since this timestamp (ISO 8601)
Response Schema Records Field Name Type Description idintegernamenull | stringemailnull | stringphonenull | stringmobilenull | stringactivenull | booleanaddressnull | stringavatarnull | objectcompany_idnull | integerview_all_ticketsnull | booleancustom_fieldsnull | objectdeletednull | booleandescriptionnull | stringjob_titlenull | stringlanguagenull | stringtwitter_idnull | stringunique_external_idnull | stringother_emailsnull | arrayother_companiesnull | arraytagsnull | arraytime_zonenull | stringfacebook_idnull | stringcsat_ratingnull | integerpreferred_sourcenull | stringfirst_namenull | stringlast_namenull | stringvisitor_idnull | stringorg_contact_idnull | integerorg_contact_id_strnull | stringother_phone_numbersnull | arraycreated_atnull | stringupdated_atnull | string
Field Name Type Description nextstring
Get a single contact by ID
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "freshdesk",
"entity": "contacts",
"action": "get",
"params": {
"id": 0
}
}'
Python SDK
await freshdesk . contacts . get (
id = 0
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "contacts",
"action": "get",
"params": {
"id": 0
}
}'
Parameters
Parameter Name Type Required Description idintegerYes Contact ID
Response Schema Records Field Name Type Description idintegernamenull | stringemailnull | stringphonenull | stringmobilenull | stringactivenull | booleanaddressnull | stringavatarnull | objectcompany_idnull | integerview_all_ticketsnull | booleancustom_fieldsnull | objectdeletednull | booleandescriptionnull | stringjob_titlenull | stringlanguagenull | stringtwitter_idnull | stringunique_external_idnull | stringother_emailsnull | arrayother_companiesnull | arraytagsnull | arraytime_zonenull | stringfacebook_idnull | stringcsat_ratingnull | integerpreferred_sourcenull | stringfirst_namenull | stringlast_namenull | stringvisitor_idnull | stringorg_contact_idnull | integerorg_contact_id_strnull | stringother_phone_numbersnull | arraycreated_atnull | stringupdated_atnull | string
Contacts Context Store Search
Search and filter contacts records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "freshdesk",
"entity": "contacts",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"id": 0
}
}
}
}
}'
Python SDK
await freshdesk . contacts . context_store_search (
query = { "filter" : { "eq" : { "id" : 0 } } }
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "contacts",
"action": "context_store_search",
"params": {
"query": {"filter": {"eq": {"id": 0}}}
}
}'
Parameters
Parameter Name Type Required Description queryobjectYes Filter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, startswith, endswith, contains, fuzzy, keyword, not, and, or query.filterobjectNo Filter conditions query.sortarrayNo Sort conditions limitintegerNo Maximum results to return (default 1000) cursorstringNo Pagination cursor from previous response's meta.cursor fieldsarrayNo Field paths to include in results
Searchable Fields
Field Name Type Description idintegerUnique contact ID namestringName of the contact emailstringPrimary email address phonestringPhone number mobilestringMobile number activebooleanWhether the contact has been verified addressstringAddress of the contact company_idintegerID of the primary company custom_fieldsobjectCustom fields associated with the contact descriptionstringDescription of the contact job_titlestringJob title of the contact languagestringLanguage of the contact twitter_idstringTwitter ID unique_external_idstringExternal ID of the contact time_zonestringTime zone of the contact facebook_idstringFacebook ID of the contact csat_ratingintegerCSAT rating of the contact preferred_sourcestringPreferred contact source created_atstringContact creation timestamp updated_atstringContact last update timestamp
Response Schema Field Name Type Description dataarrayList of matching records metaobjectPagination metadata meta.has_morebooleanWhether additional pages are available meta.cursorstring | nullCursor for next page of results meta.took_msnumber | nullQuery execution time in milliseconds data[].idintegerUnique contact ID data[].namestringName of the contact data[].emailstringPrimary email address data[].phonestringPhone number data[].mobilestringMobile number data[].activebooleanWhether the contact has been verified data[].addressstringAddress of the contact data[].company_idintegerID of the primary company data[].custom_fieldsobjectCustom fields associated with the contact data[].descriptionstringDescription of the contact data[].job_titlestringJob title of the contact data[].languagestringLanguage of the contact data[].twitter_idstringTwitter ID data[].unique_external_idstringExternal ID of the contact data[].time_zonestringTime zone of the contact data[].facebook_idstringFacebook ID of the contact data[].csat_ratingintegerCSAT rating of the contact data[].preferred_sourcestringPreferred contact source data[].created_atstringContact creation timestamp data[].updated_atstringContact last update timestamp
Search contacts records by meaning rather than by exact or fuzzy field values. Semantic search embeds a natural-language prompt and returns the most similar passages, ranked by relevance. Pass semantic={field, prompt, filter?, context_size?, min_similarity?, dedup?} to context_store_search instead of query. Only available in hosted mode.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "freshdesk",
"entity": "contacts",
"action": "context_store_search",
"params": {
"semantic": {"field": "description", "prompt": "<your natural-language query>"}
}
}'
Python SDK
Semantic search is passed through the generic execute method — the typed contacts.context_store_search helper only accepts query.
await freshdesk . execute (
"contacts" ,
"context_store_search" ,
{ "semantic" : { "field" : "description" , "prompt" : "<your natural-language query>" } } ,
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "contacts",
"action": "context_store_search",
"params": {
"semantic": {"field": "description", "prompt": "<your natural-language query>"}
}
}'
Semantic Parameters
Parameter Name Type Required Description semantic.fieldstringYes Field to search semantically. Mutually exclusive with query. semantic.promptstringYes Natural-language query that is embedded and compared against stored passages. semantic.filterobjectNo Filter conditions (same shape/operators as query.filter). sort is not supported — results are ranked by similarity. semantic.context_sizeintegerNo Characters of surrounding context to return per hit, up to the field's configured window. Omit to return the full configured window. semantic.min_similaritynumberNo Minimum similarity score in [-1.0, 1.0]. Omit for 0.25; scores below the threshold are discarded before deduplication and top-k selection. Use -1.0 to disable the cutoff. semantic.dedupstringNo max (default) returns the single best-scoring passage per record; none returns multiple passages per record, still ranked by similarity and capped by limit.fieldsarrayNo Field paths to include in results (dot notation for nested fields). Applied to each hit's entity. limitintegerNo Maximum results to return (default 10, maximum 100).
Semantically Searchable Fields
Field Name Max Context (chars) Description description2048 Description of the contact
Response Schema Field Name Type Description dataarrayList of matching passages data[].entityobjectThe matched source record data[].entity.idstringSource record field data[].entity.updated_atstringSource record field data[].entity.namestringSource record field data[].entity.emailstringSource record field data[].entity.created_atstringSource record field data[].entity.company_idstringSource record field data[].entity.job_titlestringSource record field data[].entity.activestringSource record field data[].metadataobjectMatch metadata data[].metadata.scorenumberSimilarity score data[].metadata.contextstringThe matched passage text metaobjectPagination metadata meta.has_morebooleanWhether additional pages are available meta.cursorstring | nullCursor for next page of results meta.took_msnumber | nullQuery execution time in milliseconds
Agents
Agents List
Returns a paginated list of agents
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "freshdesk",
"entity": "agents",
"action": "list"
}'
Python SDK
await freshdesk . agents . list ( )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "agents",
"action": "list"
}'
Parameters
Parameter Name Type Required Description per_pageintegerNo Number of items per page (max 100) pageintegerNo Page number (starts at 1)
Response Schema Records Field Name Type Description idintegeravailablenull | booleanavailable_sincenull | stringoccasionalnull | booleansignaturenull | stringticket_scopenull | integertypenull | stringskill_idsnull | arraygroup_idsnull | arrayrole_idsnull | arrayfocus_modenull | booleancontactnull | objectlast_active_atnull | stringdeactivatednull | booleanagent_operational_statusnull | stringorg_agent_idnull | stringorg_group_idsnull | arraycontribution_group_idsnull | arrayorg_contribution_group_idsnull | arrayscopenull | integer | objectavailabilitynull | array | objectcreated_atnull | stringupdated_atnull | string
Field Name Type Description nextstring
Agents Get
Get a single agent by ID
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "freshdesk",
"entity": "agents",
"action": "get",
"params": {
"id": 0
}
}'
Python SDK
await freshdesk . agents . get (
id = 0
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "agents",
"action": "get",
"params": {
"id": 0
}
}'
Parameters
Parameter Name Type Required Description idintegerYes Agent ID
Response Schema Records Field Name Type Description idintegeravailablenull | booleanavailable_sincenull | stringoccasionalnull | booleansignaturenull | stringticket_scopenull | integertypenull | stringskill_idsnull | arraygroup_idsnull | arrayrole_idsnull | arrayfocus_modenull | booleancontactnull | objectlast_active_atnull | stringdeactivatednull | booleanagent_operational_statusnull | stringorg_agent_idnull | stringorg_group_idsnull | arraycontribution_group_idsnull | arrayorg_contribution_group_idsnull | arrayscopenull | integer | objectavailabilitynull | array | objectcreated_atnull | stringupdated_atnull | string
Agents Context Store Search
Search and filter agents records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "freshdesk",
"entity": "agents",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"id": 0
}
}
}
}
}'
Python SDK
await freshdesk . agents . context_store_search (
query = { "filter" : { "eq" : { "id" : 0 } } }
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "agents",
"action": "context_store_search",
"params": {
"query": {"filter": {"eq": {"id": 0}}}
}
}'
Parameters
Parameter Name Type Required Description queryobjectYes Filter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, startswith, endswith, contains, fuzzy, keyword, not, and, or query.filterobjectNo Filter conditions query.sortarrayNo Sort conditions limitintegerNo Maximum results to return (default 1000) cursorstringNo Pagination cursor from previous response's meta.cursor fieldsarrayNo Field paths to include in results
Searchable Fields
Field Name Type Description idintegerUnique agent ID availablebooleanWhether the agent is available available_sincestringTimestamp since the agent has been available contactobjectContact details of the agent including name, email, phone, and job title occasionalbooleanWhether the agent is an occasional agent signaturestringSignature of the agent (HTML) ticket_scopeintegerTicket scope: 1=Global, 2=Group, 3=Restricted typestringAgent type: support_agent, field_agent, collaborator last_active_atstringTimestamp of last agent activity created_atstringAgent creation timestamp updated_atstringAgent last update timestamp
Response Schema Field Name Type Description dataarrayList of matching records metaobjectPagination metadata meta.has_morebooleanWhether additional pages are available meta.cursorstring | nullCursor for next page of results meta.took_msnumber | nullQuery execution time in milliseconds data[].idintegerUnique agent ID data[].availablebooleanWhether the agent is available data[].available_sincestringTimestamp since the agent has been available data[].contactobjectContact details of the agent including name, email, phone, and job title data[].occasionalbooleanWhether the agent is an occasional agent data[].signaturestringSignature of the agent (HTML) data[].ticket_scopeintegerTicket scope: 1=Global, 2=Group, 3=Restricted data[].typestringAgent type: support_agent, field_agent, collaborator data[].last_active_atstringTimestamp of last agent activity data[].created_atstringAgent creation timestamp data[].updated_atstringAgent last update timestamp
Groups
Groups List
Returns a paginated list of groups
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "freshdesk",
"entity": "groups",
"action": "list"
}'
Python SDK
await freshdesk . groups . list ( )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "groups",
"action": "list"
}'
Parameters
Parameter Name Type Required Description per_pageintegerNo Number of items per page (max 100) pageintegerNo Page number (starts at 1)
Response Schema Records Field Name Type Description idintegernamenull | stringdescriptionnull | stringagent_idsnull | arrayauto_ticket_assignnull | integerbusiness_hour_idnull | integerescalate_tonull | integerunassigned_fornull | stringgroup_typenull | stringallow_agents_to_change_availabilitynull | booleanagent_availability_statusnull | booleancreated_atnull | stringupdated_atnull | string
Field Name Type Description nextstring
Groups Get
Get a single group by ID
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "freshdesk",
"entity": "groups",
"action": "get",
"params": {
"id": 0
}
}'
Python SDK
await freshdesk . groups . get (
id = 0
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "groups",
"action": "get",
"params": {
"id": 0
}
}'
Parameters
Parameter Name Type Required Description idintegerYes Group ID
Response Schema Records Field Name Type Description idintegernamenull | stringdescriptionnull | stringagent_idsnull | arrayauto_ticket_assignnull | integerbusiness_hour_idnull | integerescalate_tonull | integerunassigned_fornull | stringgroup_typenull | stringallow_agents_to_change_availabilitynull | booleanagent_availability_statusnull | booleancreated_atnull | stringupdated_atnull | string
Groups Context Store Search
Search and filter groups records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "freshdesk",
"entity": "groups",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"id": 0
}
}
}
}
}'
Python SDK
await freshdesk . groups . context_store_search (
query = { "filter" : { "eq" : { "id" : 0 } } }
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "groups",
"action": "context_store_search",
"params": {
"query": {"filter": {"eq": {"id": 0}}}
}
}'
Parameters
Parameter Name Type Required Description queryobjectYes Filter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, startswith, endswith, contains, fuzzy, keyword, not, and, or query.filterobjectNo Filter conditions query.sortarrayNo Sort conditions limitintegerNo Maximum results to return (default 1000) cursorstringNo Pagination cursor from previous response's meta.cursor fieldsarrayNo Field paths to include in results
Searchable Fields
Field Name Type Description idintegerUnique group ID namestringName of the group descriptionstringDescription of the group auto_ticket_assignintegerAuto ticket assignment: 0=Disabled, 1=Round Robin, 2=Skill Based, 3=Load Based business_hour_idintegerID of the associated business hour escalate_tointegerUser ID for escalation group_typestringType of the group (e.g., support_agent_group) unassigned_forstringTime after which escalation triggers created_atstringGroup creation timestamp updated_atstringGroup last update timestamp
Response Schema Field Name Type Description dataarrayList of matching records metaobjectPagination metadata meta.has_morebooleanWhether additional pages are available meta.cursorstring | nullCursor for next page of results meta.took_msnumber | nullQuery execution time in milliseconds data[].idintegerUnique group ID data[].namestringName of the group data[].descriptionstringDescription of the group data[].auto_ticket_assignintegerAuto ticket assignment: 0=Disabled, 1=Round Robin, 2=Skill Based, 3=Load Based data[].business_hour_idintegerID of the associated business hour data[].escalate_tointegerUser ID for escalation data[].group_typestringType of the group (e.g., support_agent_group) data[].unassigned_forstringTime after which escalation triggers data[].created_atstringGroup creation timestamp data[].updated_atstringGroup last update timestamp
Companies
Companies List
Returns a paginated list of companies
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "freshdesk",
"entity": "companies",
"action": "list"
}'
Python SDK
await freshdesk . companies . list ( )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "companies",
"action": "list"
}'
Parameters
Parameter Name Type Required Description per_pageintegerNo Number of items per page (max 100) pageintegerNo Page number (starts at 1)
Response Schema Records Field Name Type Description idintegernamenull | stringdescriptionnull | stringdomainsnull | arraynotenull | stringhealth_scorenull | stringaccount_tiernull | stringrenewal_datenull | stringindustrynull | stringcustom_fieldsnull | objectorg_company_idnull | integer | stringorg_company_id_strnull | stringcreated_atnull | stringupdated_atnull | string
Field Name Type Description nextstring
Companies Get
Get a single company by ID
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "freshdesk",
"entity": "companies",
"action": "get",
"params": {
"id": 0
}
}'
Python SDK
await freshdesk . companies . get (
id = 0
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "companies",
"action": "get",
"params": {
"id": 0
}
}'
Parameters
Parameter Name Type Required Description idintegerYes Company ID
Response Schema Records Field Name Type Description idintegernamenull | stringdescriptionnull | stringdomainsnull | arraynotenull | stringhealth_scorenull | stringaccount_tiernull | stringrenewal_datenull | stringindustrynull | stringcustom_fieldsnull | objectorg_company_idnull | integer | stringorg_company_id_strnull | stringcreated_atnull | stringupdated_atnull | string
Companies Context Store Search
Search and filter companies records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "freshdesk",
"entity": "companies",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"id": 0
}
}
}
}
}'
Python SDK
await freshdesk . companies . context_store_search (
query = { "filter" : { "eq" : { "id" : 0 } } }
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "companies",
"action": "context_store_search",
"params": {
"query": {"filter": {"eq": {"id": 0}}}
}
}'
Parameters
Parameter Name Type Required Description queryobjectYes Filter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, startswith, endswith, contains, fuzzy, keyword, not, and, or query.filterobjectNo Filter conditions query.sortarrayNo Sort conditions limitintegerNo Maximum results to return (default 1000) cursorstringNo Pagination cursor from previous response's meta.cursor fieldsarrayNo Field paths to include in results
Searchable Fields
Field Name Type Description idintegerUnique company ID namestringName of the company descriptionstringDescription of the company domainsarrayEmail domains associated with the company notestringNotes about the company health_scorestringHealth score of the company account_tierstringAccount tier of the company renewal_datestringRenewal date industrystringIndustry of the company custom_fieldsobjectCustom fields associated with the company created_atstringCompany creation timestamp updated_atstringCompany last update timestamp
Response Schema Field Name Type Description dataarrayList of matching records metaobjectPagination metadata meta.has_morebooleanWhether additional pages are available meta.cursorstring | nullCursor for next page of results meta.took_msnumber | nullQuery execution time in milliseconds data[].idintegerUnique company ID data[].namestringName of the company data[].descriptionstringDescription of the company data[].domainsarrayEmail domains associated with the company data[].notestringNotes about the company data[].health_scorestringHealth score of the company data[].account_tierstringAccount tier of the company data[].renewal_datestringRenewal date data[].industrystringIndustry of the company data[].custom_fieldsobjectCustom fields associated with the company data[].created_atstringCompany creation timestamp data[].updated_atstringCompany last update timestamp
Companies Semantic Search
Search companies records by meaning rather than by exact or fuzzy field values. Semantic search embeds a natural-language prompt and returns the most similar passages, ranked by relevance. Pass semantic={field, prompt, filter?, context_size?, min_similarity?, dedup?} to context_store_search instead of query. Only available in hosted mode.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "freshdesk",
"entity": "companies",
"action": "context_store_search",
"params": {
"semantic": {"field": "description", "prompt": "<your natural-language query>"}
}
}'
Python SDK
Semantic search is passed through the generic execute method — the typed companies.context_store_search helper only accepts query.
await freshdesk . execute (
"companies" ,
"context_store_search" ,
{ "semantic" : { "field" : "description" , "prompt" : "<your natural-language query>" } } ,
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "companies",
"action": "context_store_search",
"params": {
"semantic": {"field": "description", "prompt": "<your natural-language query>"}
}
}'
Semantic Parameters
Parameter Name Type Required Description semantic.fieldstringYes Field to search semantically. Mutually exclusive with query. semantic.promptstringYes Natural-language query that is embedded and compared against stored passages. semantic.filterobjectNo Filter conditions (same shape/operators as query.filter). sort is not supported — results are ranked by similarity. semantic.context_sizeintegerNo Characters of surrounding context to return per hit, up to the field's configured window. Omit to return the full configured window. semantic.min_similaritynumberNo Minimum similarity score in [-1.0, 1.0]. Omit for 0.25; scores below the threshold are discarded before deduplication and top-k selection. Use -1.0 to disable the cutoff. semantic.dedupstringNo max (default) returns the single best-scoring passage per record; none returns multiple passages per record, still ranked by similarity and capped by limit.fieldsarrayNo Field paths to include in results (dot notation for nested fields). Applied to each hit's entity. limitintegerNo Maximum results to return (default 10, maximum 100).
Semantically Searchable Fields
Field Name Max Context (chars) Description description2048 Description of the company note2048 Notes about the company
Response Schema Field Name Type Description dataarrayList of matching passages data[].entityobjectThe matched source record data[].entity.idstringSource record field data[].entity.updated_atstringSource record field data[].entity.namestringSource record field data[].entity.created_atstringSource record field data[].entity.industrystringSource record field data[].entity.account_tierstringSource record field data[].entity.health_scorestringSource record field data[].metadataobjectMatch metadata data[].metadata.scorenumberSimilarity score data[].metadata.contextstringThe matched passage text metaobjectPagination metadata meta.has_morebooleanWhether additional pages are available meta.cursorstring | nullCursor for next page of results meta.took_msnumber | nullQuery execution time in milliseconds
Roles
Roles List
Returns a paginated list of roles
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "freshdesk",
"entity": "roles",
"action": "list"
}'
Python SDK
await freshdesk . roles . list ( )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "roles",
"action": "list"
}'
Parameters
Parameter Name Type Required Description per_pageintegerNo Number of items per page (max 100) pageintegerNo Page number (starts at 1)
Response Schema Records Field Name Type Description idintegernamenull | stringdescriptionnull | stringdefaultnull | booleanagent_typenull | integercreated_atnull | stringupdated_atnull | string
Field Name Type Description nextstring
Roles Get
Get a single role by ID
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "freshdesk",
"entity": "roles",
"action": "get",
"params": {
"id": 0
}
}'
Python SDK
await freshdesk . roles . get (
id = 0
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "roles",
"action": "get",
"params": {
"id": 0
}
}'
Parameters
Parameter Name Type Required Description idintegerYes Role ID
Response Schema Records Field Name Type Description idintegernamenull | stringdescriptionnull | stringdefaultnull | booleanagent_typenull | integercreated_atnull | stringupdated_atnull | string
Roles Context Store Search
Search and filter roles records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "freshdesk",
"entity": "roles",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"id": 0
}
}
}
}
}'
Python SDK
await freshdesk . roles . context_store_search (
query = { "filter" : { "eq" : { "id" : 0 } } }
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "roles",
"action": "context_store_search",
"params": {
"query": {"filter": {"eq": {"id": 0}}}
}
}'
Parameters
Parameter Name Type Required Description queryobjectYes Filter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, startswith, endswith, contains, fuzzy, keyword, not, and, or query.filterobjectNo Filter conditions query.sortarrayNo Sort conditions limitintegerNo Maximum results to return (default 1000) cursorstringNo Pagination cursor from previous response's meta.cursor fieldsarrayNo Field paths to include in results
Searchable Fields
Field Name Type Description idintegerUnique role ID namestringName of the role descriptionstringDescription of the role defaultbooleanWhether this is a default role created_atstringRole creation timestamp updated_atstringRole last update timestamp
Response Schema Field Name Type Description dataarrayList of matching records metaobjectPagination metadata meta.has_morebooleanWhether additional pages are available meta.cursorstring | nullCursor for next page of results meta.took_msnumber | nullQuery execution time in milliseconds data[].idintegerUnique role ID data[].namestringName of the role data[].descriptionstringDescription of the role data[].defaultbooleanWhether this is a default role data[].created_atstringRole creation timestamp data[].updated_atstringRole last update timestamp
Satisfaction Ratings
Satisfaction Ratings List
Returns a paginated list of satisfaction ratings
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "freshdesk",
"entity": "satisfaction_ratings",
"action": "list"
}'
Python SDK
await freshdesk . satisfaction_ratings . list ( )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "satisfaction_ratings",
"action": "list"
}'
Parameters
Parameter Name Type Required Description per_pageintegerNo Number of items per page (max 100) pageintegerNo Page number (starts at 1) created_sincestringNo Return ratings created since this timestamp (ISO 8601)
Response Schema Records Field Name Type Description idintegersurvey_idnull | integeruser_idnull | integeragent_idnull | integergroup_idnull | integerticket_idnull | integerfeedbacknull | stringratingsnull | objectcreated_atnull | stringupdated_atnull | string
Field Name Type Description nextstring
Satisfaction Ratings Context Store Search
Search and filter satisfaction ratings records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "freshdesk",
"entity": "satisfaction_ratings",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"id": 0
}
}
}
}
}'
Python SDK
await freshdesk . satisfaction_ratings . context_store_search (
query = { "filter" : { "eq" : { "id" : 0 } } }
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "satisfaction_ratings",
"action": "context_store_search",
"params": {
"query": {"filter": {"eq": {"id": 0}}}
}
}'
Parameters
Parameter Name Type Required Description queryobjectYes Filter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, startswith, endswith, contains, fuzzy, keyword, not, and, or query.filterobjectNo Filter conditions query.sortarrayNo Sort conditions limitintegerNo Maximum results to return (default 1000) cursorstringNo Pagination cursor from previous response's meta.cursor fieldsarrayNo Field paths to include in results
Searchable Fields
Field Name Type Description idintegerUnique satisfaction rating ID survey_idintegerID of the survey user_idintegerID of the user (requester) agent_idintegerID of the agent group_idintegerID of the group ticket_idintegerID of the ticket feedbackstringFeedback text ratingsobjectRating values (question_id to rating mapping) created_atstringRating creation timestamp updated_atstringRating last update timestamp
Response Schema Field Name Type Description dataarrayList of matching records metaobjectPagination metadata meta.has_morebooleanWhether additional pages are available meta.cursorstring | nullCursor for next page of results meta.took_msnumber | nullQuery execution time in milliseconds data[].idintegerUnique satisfaction rating ID data[].survey_idintegerID of the survey data[].user_idintegerID of the user (requester) data[].agent_idintegerID of the agent data[].group_idintegerID of the group data[].ticket_idintegerID of the ticket data[].feedbackstringFeedback text data[].ratingsobjectRating values (question_id to rating mapping) data[].created_atstringRating creation timestamp data[].updated_atstringRating last update timestamp
Satisfaction Ratings Semantic Search
Search satisfaction ratings records by meaning rather than by exact or fuzzy field values. Semantic search embeds a natural-language prompt and returns the most similar passages, ranked by relevance. Pass semantic={field, prompt, filter?, context_size?, min_similarity?, dedup?} to context_store_search instead of query. Only available in hosted mode.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "freshdesk",
"entity": "satisfaction_ratings",
"action": "context_store_search",
"params": {
"semantic": {"field": "feedback", "prompt": "<your natural-language query>"}
}
}'
Python SDK
Semantic search is passed through the generic execute method — the typed satisfaction_ratings.context_store_search helper only accepts query.
await freshdesk . execute (
"satisfaction_ratings" ,
"context_store_search" ,
{ "semantic" : { "field" : "feedback" , "prompt" : "<your natural-language query>" } } ,
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "satisfaction_ratings",
"action": "context_store_search",
"params": {
"semantic": {"field": "feedback", "prompt": "<your natural-language query>"}
}
}'
Semantic Parameters
Parameter Name Type Required Description semantic.fieldstringYes Field to search semantically. Mutually exclusive with query. semantic.promptstringYes Natural-language query that is embedded and compared against stored passages. semantic.filterobjectNo Filter conditions (same shape/operators as query.filter). sort is not supported — results are ranked by similarity. semantic.context_sizeintegerNo Characters of surrounding context to return per hit, up to the field's configured window. Omit to return the full configured window. semantic.min_similaritynumberNo Minimum similarity score in [-1.0, 1.0]. Omit for 0.25; scores below the threshold are discarded before deduplication and top-k selection. Use -1.0 to disable the cutoff. semantic.dedupstringNo max (default) returns the single best-scoring passage per record; none returns multiple passages per record, still ranked by similarity and capped by limit.fieldsarrayNo Field paths to include in results (dot notation for nested fields). Applied to each hit's entity. limitintegerNo Maximum results to return (default 10, maximum 100).
Semantically Searchable Fields
Field Name Max Context (chars) Description feedback2048 Feedback text
Response Schema Field Name Type Description dataarrayList of matching passages data[].entityobjectThe matched source record data[].entity.idstringSource record field data[].entity.updated_atstringSource record field data[].entity.created_atstringSource record field data[].entity.ticket_idstringSource record field data[].entity.survey_idstringSource record field data[].entity.agent_idstringSource record field data[].entity.group_idstringSource record field data[].entity.user_idstringSource record field data[].entity.ratingsstringSource record field data[].metadataobjectMatch metadata data[].metadata.scorenumberSimilarity score data[].metadata.contextstringThe matched passage text metaobjectPagination metadata meta.has_morebooleanWhether additional pages are available meta.cursorstring | nullCursor for next page of results meta.took_msnumber | nullQuery execution time in milliseconds
Surveys
Surveys List
Returns a paginated list of surveys
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "freshdesk",
"entity": "surveys",
"action": "list"
}'
Python SDK
await freshdesk . surveys . list ( )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "surveys",
"action": "list"
}'
Parameters
Parameter Name Type Required Description per_pageintegerNo Number of items per page (max 100) pageintegerNo Page number (starts at 1)
Response Schema Records Field Name Type Description idintegertitlenull | stringactivenull | booleanquestionsnull | arraycreated_atnull | stringupdated_atnull | string
Field Name Type Description nextstring
Surveys Context Store Search
Search and filter surveys records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "freshdesk",
"entity": "surveys",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"id": 0
}
}
}
}
}'
Python SDK
await freshdesk . surveys . context_store_search (
query = { "filter" : { "eq" : { "id" : 0 } } }
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "surveys",
"action": "context_store_search",
"params": {
"query": {"filter": {"eq": {"id": 0}}}
}
}'
Parameters
Parameter Name Type Required Description queryobjectYes Filter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, startswith, endswith, contains, fuzzy, keyword, not, and, or query.filterobjectNo Filter conditions query.sortarrayNo Sort conditions limitintegerNo Maximum results to return (default 1000) cursorstringNo Pagination cursor from previous response's meta.cursor fieldsarrayNo Field paths to include in results
Searchable Fields
Field Name Type Description idintegerUnique survey ID titlestringTitle of the survey activebooleanWhether the survey is active questionsarraySurvey questions created_atstringSurvey creation timestamp updated_atstringSurvey last update timestamp
Response Schema Field Name Type Description dataarrayList of matching records metaobjectPagination metadata meta.has_morebooleanWhether additional pages are available meta.cursorstring | nullCursor for next page of results meta.took_msnumber | nullQuery execution time in milliseconds data[].idintegerUnique survey ID data[].titlestringTitle of the survey data[].activebooleanWhether the survey is active data[].questionsarraySurvey questions data[].created_atstringSurvey creation timestamp data[].updated_atstringSurvey last update timestamp
Time Entries
Time Entries List
Returns a paginated list of time entries
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "freshdesk",
"entity": "time_entries",
"action": "list"
}'
Python SDK
await freshdesk . time_entries . list ( )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "time_entries",
"action": "list"
}'
Parameters
Parameter Name Type Required Description per_pageintegerNo Number of items per page (max 100) pageintegerNo Page number (starts at 1)
Response Schema Records Field Name Type Description idintegeragent_idnull | integerticket_idnull | integercompany_idnull | integerbillablenull | booleannotenull | stringtime_spentnull | stringtimer_runningnull | booleanexecuted_atnull | stringstart_timenull | stringtime_spent_in_secondsnull | integercreated_atnull | stringupdated_atnull | string
Field Name Type Description nextstring
Time Entries Context Store Search
Search and filter time entries records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "freshdesk",
"entity": "time_entries",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"id": 0
}
}
}
}
}'
Python SDK
await freshdesk . time_entries . context_store_search (
query = { "filter" : { "eq" : { "id" : 0 } } }
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "time_entries",
"action": "context_store_search",
"params": {
"query": {"filter": {"eq": {"id": 0}}}
}
}'
Parameters
Parameter Name Type Required Description queryobjectYes Filter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, startswith, endswith, contains, fuzzy, keyword, not, and, or query.filterobjectNo Filter conditions query.sortarrayNo Sort conditions limitintegerNo Maximum results to return (default 1000) cursorstringNo Pagination cursor from previous response's meta.cursor fieldsarrayNo Field paths to include in results
Searchable Fields
Field Name Type Description idintegerUnique time entry ID agent_idintegerID of the agent ticket_idintegerID of the associated ticket company_idintegerID of the associated company billablebooleanWhether the time entry is billable notestringDescription of the time entry time_spentstringTime spent in hh:mm format timer_runningbooleanWhether the timer is running executed_atstringExecution timestamp start_timestringStart time of the timer created_atstringTime entry creation timestamp updated_atstringTime entry last update timestamp
Response Schema Field Name Type Description dataarrayList of matching records metaobjectPagination metadata meta.has_morebooleanWhether additional pages are available meta.cursorstring | nullCursor for next page of results meta.took_msnumber | nullQuery execution time in milliseconds data[].idintegerUnique time entry ID data[].agent_idintegerID of the agent data[].ticket_idintegerID of the associated ticket data[].company_idintegerID of the associated company data[].billablebooleanWhether the time entry is billable data[].notestringDescription of the time entry data[].time_spentstringTime spent in hh:mm format data[].timer_runningbooleanWhether the timer is running data[].executed_atstringExecution timestamp data[].start_timestringStart time of the timer data[].created_atstringTime entry creation timestamp data[].updated_atstringTime entry last update timestamp
Time Entries Semantic Search
Search time entries records by meaning rather than by exact or fuzzy field values. Semantic search embeds a natural-language prompt and returns the most similar passages, ranked by relevance. Pass semantic={field, prompt, filter?, context_size?, min_similarity?, dedup?} to context_store_search instead of query. Only available in hosted mode.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "freshdesk",
"entity": "time_entries",
"action": "context_store_search",
"params": {
"semantic": {"field": "note", "prompt": "<your natural-language query>"}
}
}'
Python SDK
Semantic search is passed through the generic execute method — the typed time_entries.context_store_search helper only accepts query.
await freshdesk . execute (
"time_entries" ,
"context_store_search" ,
{ "semantic" : { "field" : "note" , "prompt" : "<your natural-language query>" } } ,
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "time_entries",
"action": "context_store_search",
"params": {
"semantic": {"field": "note", "prompt": "<your natural-language query>"}
}
}'
Semantic Parameters
Parameter Name Type Required Description semantic.fieldstringYes Field to search semantically. Mutually exclusive with query. semantic.promptstringYes Natural-language query that is embedded and compared against stored passages. semantic.filterobjectNo Filter conditions (same shape/operators as query.filter). sort is not supported — results are ranked by similarity. semantic.context_sizeintegerNo Characters of surrounding context to return per hit, up to the field's configured window. Omit to return the full configured window. semantic.min_similaritynumberNo Minimum similarity score in [-1.0, 1.0]. Omit for 0.25; scores below the threshold are discarded before deduplication and top-k selection. Use -1.0 to disable the cutoff. semantic.dedupstringNo max (default) returns the single best-scoring passage per record; none returns multiple passages per record, still ranked by similarity and capped by limit.fieldsarrayNo Field paths to include in results (dot notation for nested fields). Applied to each hit's entity. limitintegerNo Maximum results to return (default 10, maximum 100).
Semantically Searchable Fields
Field Name Max Context (chars) Description note2048 Description of the time entry
Response Schema Field Name Type Description dataarrayList of matching passages data[].entityobjectThe matched source record data[].entity.idstringSource record field data[].entity.updated_atstringSource record field data[].entity.created_atstringSource record field data[].entity.ticket_idstringSource record field data[].entity.agent_idstringSource record field data[].entity.company_idstringSource record field data[].entity.billablestringSource record field data[].entity.time_spentstringSource record field data[].entity.executed_atstringSource record field data[].metadataobjectMatch metadata data[].metadata.scorenumberSimilarity score data[].metadata.contextstringThe matched passage text metaobjectPagination metadata meta.has_morebooleanWhether additional pages are available meta.cursorstring | nullCursor for next page of results meta.took_msnumber | nullQuery execution time in milliseconds
Ticket Fields
Ticket Fields List
Returns a list of all ticket fields
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "freshdesk",
"entity": "ticket_fields",
"action": "list"
}'
Python SDK
await freshdesk . ticket_fields . list ( )
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "ticket_fields",
"action": "list"
}'
Parameters
Parameter Name Type Required Description per_pageintegerNo Number of items per page (max 100) pageintegerNo Page number (starts at 1)
Response Schema Records Field Name Type Description idintegernamenull | stringlabelnull | stringlabel_for_customersnull | stringdescriptionnull | stringpositionnull | integertypenull | stringdefaultnull | booleanrequired_for_closurenull | booleanrequired_for_agentsnull | booleanrequired_for_customersnull | booleancustomers_can_editnull | booleandisplayed_to_customersnull | booleancustomers_can_filternull | booleanportal_ccnull | booleanportal_cc_tonull | stringchoicesany | array<string | object> | objectcreated_atnull | stringupdated_atnull | string
Field Name Type Description nextstring
Ticket Fields Context Store Search
Search and filter ticket fields records powered by Airbyte's data sync. This often provides additional fields and operators beyond what the API natively supports, making it easier to narrow down results before performing further operations. Only available in hosted mode.
CLI
airbyte-agent connectors execute --json '{
"workspace": "<your_workspace_name>",
"name": "freshdesk",
"entity": "ticket_fields",
"action": "context_store_search",
"params": {
"query": {
"filter": {
"eq": {
"id": 0
}
}
}
}
}'
Python SDK
await freshdesk . ticket_fields . context_store_search (
query = { "filter" : { "eq" : { "id" : 0 } } }
)
API
curl --location 'https://api.airbyte.ai/api/v1/integrations/connectors/{your_connector_id}/execute' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your_auth_token}' \
--data '{
"entity": "ticket_fields",
"action": "context_store_search",
"params": {
"query": {"filter": {"eq": {"id": 0}}}
}
}'
Parameters
Parameter Name Type Required Description queryobjectYes Filter and sort conditions. Supports operators: eq, neq, gt, gte, lt, lte, in, startswith, endswith, contains, fuzzy, keyword, not, and, or query.filterobjectNo Filter conditions query.sortarrayNo Sort conditions limitintegerNo Maximum results to return (default 1000) cursorstringNo Pagination cursor from previous response's meta.cursor fieldsarrayNo Field paths to include in results
Searchable Fields
Field Name Type Description idintegerUnique ticket field ID namestringName of the field labelstringDisplay label for agents label_for_customersstringDisplay label in the customer portal descriptionstringDescription of the field positionintegerPosition of the field in the form typestringField type (e.g., custom_dropdown, custom_text) defaultbooleanWhether this is a default (non-custom) field required_for_closurebooleanWhether the field is required for ticket closure required_for_agentsbooleanWhether the field is required for agents required_for_customersbooleanWhether the field is required for customers customers_can_editbooleanWhether customers can edit this field displayed_to_customersbooleanWhether the field is displayed to customers portal_ccbooleanWhether CC is enabled in the portal portal_cc_tostringCC recipients scope (all or company) choicesobjectAvailable choices for dropdown fields created_atstringField creation timestamp updated_atstringField last update timestamp
Response Schema Field Name Type Description dataarrayList of matching records metaobjectPagination metadata meta.has_morebooleanWhether additional pages are available meta.cursorstring | nullCursor for next page of results meta.took_msnumber | nullQuery execution time in milliseconds data[].idintegerUnique ticket field ID data[].namestringName of the field data[].labelstringDisplay label for agents data[].label_for_customersstringDisplay label in the customer portal data[].descriptionstringDescription of the field data[].positionintegerPosition of the field in the form data[].typestringField type (e.g., custom_dropdown, custom_text) data[].defaultbooleanWhether this is a default (non-custom) field data[].required_for_closurebooleanWhether the field is required for ticket closure data[].required_for_agentsbooleanWhether the field is required for agents data[].required_for_customersbooleanWhether the field is required for customers data[].customers_can_editbooleanWhether customers can edit this field data[].displayed_to_customersbooleanWhether the field is displayed to customers data[].portal_ccbooleanWhether CC is enabled in the portal data[].portal_cc_tostringCC recipients scope (all or company) data[].choicesobjectAvailable choices for dropdown fields data[].created_atstringField creation timestamp data[].updated_atstringField last update timestamp