---
agentTools:
  projectIndex: https://docs.developer.yelp.com/llms.txt
---

# Program Status

Obtain the status of an existing ingestion job

[block:callout]
{
  "type": "info",
  "body": "This endpoint is part of the Ads API, visit [Ads API](https://docs.developer.yelp.com/docs/ads-api) to learn more."
}
[/block]

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Advertising",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://partner-api.yelp.com/"
    }
  ],
  "components": {
    "securitySchemes": {
      "basic": {
        "type": "http",
        "scheme": "basic"
      }
    },
    "schemas": {
      "DIField": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string"
          },
          "requested_value": {
            "type": "string"
          }
        }
      }
    },
    "responses": {
      "JobStatusProgram200Response": {
        "description": "200",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "status": {
                  "type": "string"
                },
                "completed_at": {
                  "type": "string"
                },
                "created_at": {
                  "type": "string"
                },
                "business_results": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "status": {
                        "type": "string"
                      },
                      "identifier_type": {
                        "type": "string"
                      },
                      "identifier": {
                        "type": "string"
                      },
                      "update_results": {
                        "type": "object",
                        "properties": {
                          "program_added": {
                            "type": "object",
                            "properties": {
                              "start": {
                                "$ref": "#/components/schemas/DIField"
                              },
                              "program_name": {
                                "$ref": "#/components/schemas/DIField"
                              },
                              "end": {
                                "$ref": "#/components/schemas/DIField"
                              },
                              "program_id": {
                                "$ref": "#/components/schemas/DIField"
                              },
                              "yelp_business_id": {
                                "$ref": "#/components/schemas/DIField"
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            },
            "examples": {
              "Result": {
                "value": {
                  "status": "PROCESSING",
                  "completed_at": null,
                  "created_at": "2018-11-26T22:50:38+00:00",
                  "business_results": [
                    {
                      "status": "COMPLETED",
                      "identifier_type": "BUSINESS",
                      "identifier": "pzni3DBjMPxrBsbKbf2gbQ",
                      "update_results": {
                        "program_added": {
                          "start": {
                            "status": "COMPLETED",
                            "requested_value": "2018-12-25"
                          },
                          "program_name": {
                            "status": "COMPLETED",
                            "requested_value": "BP"
                          },
                          "end": {
                            "status": "COMPLETED",
                            "requested_value": "2018-12-30"
                          },
                          "program_id": {
                            "status": "COMPLETED",
                            "requested_value": "J-f-JohjGMmirSqJEn_Gig"
                          },
                          "yelp_business_id": {
                            "status": "COMPLETED",
                            "requested_value": "pzni3DBjMPxrBsbKbf2gbQ"
                          }
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        }
      },
      "Empty400Response": {
        "description": "400",
        "content": {
          "application/json": {
            "schema": {
              "type": "object"
            },
            "examples": {
              "Result": {
                "value": {}
              }
            }
          }
        }
      }
    }
  },
  "security": [
    {
      "basic": []
    }
  ],
  "paths": {
    "/v1/reseller/status/{job_id}": {
      "get": {
        "summary": "Program Status",
        "tags": [
          "Advertising"
        ],
        "description": "Obtain the status of an existing ingestion job",
        "operationId": "get_reseller_status_v1",
        "parameters": [
          {
            "in": "path",
            "name": "job_id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Job receipt ID"
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/JobStatusProgram200Response"
          },
          "400": {
            "$ref": "#/components/responses/Empty400Response"
          }
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": false,
    "samples-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 99,
      "1": 144,
      "2": 110,
      "3": 40,
      "4": 117,
      "5": 253,
      "6": 246,
      "7": 0,
      "8": 31,
      "9": 68,
      "10": 254,
      "11": 182
    }
  }
}
```