GET
/
scripts
/
config
curl --request GET \
  --url https://api.nango.dev/scripts/config
{
  "providerConfigKey": "<string>",
  "syncs": [
    {
      "name": "github-issues",
      "type": "sync",
      "models": [
        {
          "name": "GithubIssue",
          "fields": [
            {
              "name": "title",
              "type": "string"
            }
          ]
        }
      ],
      "sync_type": "INCREMENTAL",
      "runs": "every 30 minutes",
      "track_deletes": true,
      "auto_start": true,
      "last_deployed": "2024-02-01T09:09:03.502Z",
      "is_public": true,
      "pre_built": true,
      "version": "0.0.3",
      "attributes": {},
      "input": {},
      "returns": [
        "GithubIssue"
      ],
      "description": "Fetches the Github issues from all a user's repositories.\nDetails: full sync, doesn't track deletes, metadata is not required.\n",
      "scopes": [
        "public_repo"
      ],
      "endpoints": [
        {}
      ],
      "nango_yaml_version": "v2",
      "webhookSubscriptions": [
        "<any>"
      ]
    }
  ],
  "actions": [
    {
      "name": "github-issues",
      "type": "sync",
      "models": [
        {
          "name": "GithubIssue",
          "fields": [
            {
              "name": "id",
              "type": "integer"
            }
          ]
        }
      ],
      "last_deployed": "2024-02-28T20:16:38.052Z",
      "is_public": false,
      "pre_built": false,
      "version": "4",
      "attributes": {},
      "input": {},
      "returns": {},
      "description": "Fetches the Github issues from all a user's repositories.\nDetails: full sync, doesn't track deletes, metadata is not required.\n",
      "scopes": [
        "public_repo"
      ],
      "endpoints": [
        {}
      ],
      "nango_yaml_version": "v2"
    }
  ],
  "postConnectionScripts": [
    "<any>"
  ],
  "provider": "github"
}

Response

200
application/json
Successfully returned scripts config
providerConfigKey
string
syncs
object[]
actions
object[]
postConnectionScripts
any[]
provider
string