> ## Documentation Index
> Fetch the complete documentation index at: https://www.ayrshare.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# History API अवलोकन

> किसी पोस्ट या सोशल नेटवर्क के लिए सभी पोस्ट का इतिहास प्राप्त करें।

export const PlansAvailable = ({plans = [], maxPackRequired}) => {
  let displayPlans = plans;
  if (plans && plans.length === 1) {
    const lowerCasePlan = plans[0].toLowerCase();
    if (lowerCasePlan === "business") {
      displayPlans = ["Launch", "Business", "Enterprise"];
    } else if (lowerCasePlan === "premium") {
      displayPlans = ["Premium", "Launch", "Business", "Enterprise"];
    }
  }
  return <Note>
Available on {displayPlans.length === 1 ? "the " : ""}
{displayPlans.join(", ").replace(/\b\w/g, l => l.toUpperCase())}{" "}
{displayPlans.length > 1 ? "plans" : "plan"}.

{maxPackRequired && <span onClick={() => window.open('https://www.ayrshare.com/docs/additional/maxpack', '_self')} className="flex items-center mt-2 cursor-pointer">
 <span className="px-1.5 py-0.5 rounded text-sm" style={{
    backgroundColor: '#C264B6',
    color: 'white',
    fontSize: '12px'
  }}>
   Max Pack required
 </span>
</span>}
</Note>;
};

<PlansAvailable plans={["premium"]} maxPackRequired={false} />

Ayrshare history एंडपॉइंट आपको अपने कनेक्ट किए गए सोशल मीडिया खातों से पोस्ट प्राप्त करने की अनुमति देता है, चाहे वे Ayrshare के प्लेटफ़ॉर्म के माध्यम से प्रकाशित की गई हों या सीधे सोशल नेटवर्क पर पोस्ट की गई हों।
इसका मतलब है कि आप एक ही एंडपॉइंट के माध्यम से अपने सोशल मीडिया इतिहास तक पहुँच सकते हैं, जिससे मूल रूप से कैसे पोस्ट की गई थी, इसकी परवाह किए बिना आपकी सभी सोशल सामग्री का विश्लेषण और ट्रैक करना आसान हो जाता है।
